Opened 7 years ago
Closed 7 years ago
#54422 closed defect (fixed)
gnutls @3.5.14: ld: library not found for -lsnowleopardfixes
Reported by: | BrentSqAR | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | snowleopard leopard tiger | Cc: | Schamschula (Marius Schamschula) |
Port: | gnutls |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
whilst configuring the c-compiler: library not found for -lsnowleopardfixes
configure:5377: checking whether the C compiler works configure:5399: /opt/local/bin/clang-mp-3.7 -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -lsnowleopardfixes -arch x86_64 conftest.c >&5 ld: library not found for -lsnowleopardfixes clang: error: linker command failed with exit code 1 (use -v to see invocation)
Attachments (1)
Change History (5)
Changed 7 years ago by BrentSqAR
Attachment: | config.log added |
---|
comment:1 Changed 7 years ago by kencu (Ken)
comment:2 Changed 7 years ago by kencu (Ken)
I see what happened. In the portfile, the depends_lib is reset by this
depends_lib port:gmp \ port:libidn \ port:libtasn1 \ ...
which overwrites the depends_lib-append in the PortGroup, deleting the dependency on snowleopardfixes
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Schamschula added |
---|---|
Description: | modified (diff) |
Keywords: | snowleopard leopard tiger added |
Owner: | set to ryandesign |
Port: | gnutls added |
Status: | new → accepted |
Summary: | gnutls fails to build - library not found for -lsnowleopardfixes → gnutls @3.5.14: ld: library not found for -lsnowleopardfixes |
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Ah - I see -- the new gnutls Portfile has the snowleopard_fixes portgroup in it. That is supposed to include an instruction to have the library as a dependency but I think it does not.
please try this
and then try gnutls again.