Opened 12 years ago
Last modified 12 years ago
#34765 closed defect
subtitleripper @0.3-4, Revision 1: Fails to build due to lib search path — at Initial Version
Reported by: | djvasi@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | stephen@… | |
Port: | subtitleripper |
Description
On my 10.7.4 box, the following error is produced:
Compiling vobsub2pgm.c Linking subtitle2pgm ld: library not found for -lppm clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [subtitle2pgm] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_subtitleripper/subtitleripper/work/subtitleripper' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_subtitleripper/subtitleripper/work/subtitleripper" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" CFLAGS="-O2 -DHAVE_GETLINE" LDFLAGS="-L/opt/local/lib" Exit code: 2 }} An /opt/local/lib/libppm.dylib is in fact present. However the subtitleripper Makefile doesn't actually use the LDFLAGS, so it doesn't know to look in /opt/local/lib.
Note: See
TracTickets for help on using
tickets.