Opened 4 years ago
Closed 4 years ago
#61385 closed defect (fixed)
samba4 @4.13.1: installed files link with libraries in build directory
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | 21stcaveman (Hamid Maadani) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.99 |
Keywords: | Cc: | 21stcaveman (Hamid Maadani) | |
Port: | samba4 |
Description
Nothing installed by the samba4 port works because it links with libraries that were in the build directory, which no longer exists after the installation finishes.
$ smbget4 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_samba4/samba4/work/samba-4.13.1/bin/default/source3/libsmb/libsmbclient.dylib Referenced from: /opt/local/bin/smbget4 Reason: image not found Abort trap: 6
$ smbd4 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_samba4/samba4/work/samba-4.13.1/bin/default/source3/libpopt-samba3-samba4.dylib Referenced from: /opt/local/sbin/smbd4 Reason: image not found Abort trap: 6
Attachments (1)
Change History (3)
comment:1 Changed 4 years ago by 21stcaveman (Hamid Maadani)
Changed 4 years ago by scottschreckengaust (Scott Schreckengaust)
Attachment: | samba4_ticket.txt added |
---|
port -d -y rev-upgrade
comment:2 Changed 4 years ago by 21stcaveman (Hamid Maadani)
Owner: | set to 21stcaveman |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was expected. I was planning to open a trac ticket myself, and then submit a commit for it. The reason for that, is I am copying this entirely from macstrop repo (https://github.com/RJVB/macstrop), and all the work is done by Rene. I will copy him on this ticket.
I have submitted pull request #8986 to address this.
testing samba4 on my macbook, using the above commit, this is what I get :