[MacPorts] #34765: subtitleripper @0.3-4, Revision 1: Fails to build due to lib search path
MacPorts
noreply at macports.org
Tue Jun 5 00:11:16 PDT 2012
#34765: subtitleripper @0.3-4, Revision 1: Fails to build due to lib search path
------------------------------+---------------------------------------------
Reporter: djvasi@… | Owner: stephen@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: subtitleripper
------------------------------+---------------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => stephen@…
* cc: stephen@… (removed)
Old 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.
New 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.
--
--
Ticket URL: <https://trac.macports.org/ticket/34765#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list