Opened 12 years ago

Closed 12 years ago

#34765 closed defect (fixed)

subtitleripper @0.3-4, Revision 1: Fails to build due to lib search path

Reported by: djvasi@… Owned by: stephen@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: subtitleripper

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stephen@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to stephen@…

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.