Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478642 - net-print/cups-filters-1.0.35: compile fails on G/FBSD, cannot find -ldl
Summary: net-print/cups-filters-1.0.35: compile fails on G/FBSD, cannot find -ldl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 11:21 UTC by Yuta SATOH
Modified: 2013-08-13 21:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sample patch for configure.ac (cups-filters-1.0.35-fbsd-ldl.patch,441 bytes, patch)
2013-07-29 11:27 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-07-29 11:21:05 UTC
The following message is displayed and fails to compile.

/bin/sh ./libtool  --tag=CXX   --mode=link x86_64-gentoo-freebsd9.0-g++  -I/usr/include/freetype2   -I/usr/include/libpng16  -I/usr/include/poppler  -I./filter/pdftoopvp/oprs -I./filter/pdftoopvp/opvp -O2 -pipe -ggdb -Wall -pedantic -D_GNU_SOURCE   -o pdftoopvp pdftoopvp-OPRS.o pdftoopvp-OPVPSplashClip.o pdftoopvp-OPVPSplash.o pdftoopvp-OPVPSplashPath.o pdftoopvp-OPVPSplashState.o pdftoopvp-OPVPSplashXPath.o pdftoopvp-OPVPWrapper.o pdftoopvp-OPVPWrapper_0_2.o pdftoopvp-OPVPOutputDev.o pdftoopvp-pdftoopvp.o -lcupsimage -lcups -L/usr/lib -lgnutls -lnettle -lhogweed -lgmp -lz -lintl -lpthread -liconv -lz -lgcrypt -lgpg-error -lz -lpthread -lm -lcrypt -lz -lfreetype -lz -lbz2  -lfontconfig -lexpat -lfreetype -lz -lbz2  -lpng16 -lm -lz -lm  -lpoppler  -ldl -ltiff -ljpeg
libtool: link: x86_64-gentoo-freebsd9.0-g++ -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/poppler -I./filter/pdftoopvp/oprs -I./filter/pdftoopvp/opvp -O2 -pipe -ggdb -Wall -pedantic -D_GNU_SOURCE -o pdftoopvp pdftoopvp-OPRS.o pdftoopvp-OPVPSplashClip.o pdftoopvp-OPVPSplash.o pdftoopvp-OPVPSplashPath.o pdftoopvp-OPVPSplashState.o pdftoopvp-OPVPSplashXPath.o pdftoopvp-OPVPWrapper.o pdftoopvp-OPVPWrapper_0_2.o pdftoopvp-OPVPOutputDev.o pdftoopvp-pdftoopvp.o  -lcupsimage -lcups -L/usr/lib -lgnutls -lnettle -lhogweed -lgmp -lintl /usr/lib/libiconv.so -lgcrypt -lgpg-error -lpthread -lcrypt -lfontconfig -lexpat -lfreetype -lbz2 -lpng16 -lz -lm -lpoppler -ldl -ltiff -ljpeg
/usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.4/../../../../x86_64-gentoo-freebsd9.0/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
gmake[1]: *** [pdftoopvp] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/net-print/cups-filters-1.0.35/work/cups-filters-1.0.35'
gmake: *** [all] Error 2
 * ERROR: net-print/cups-filters-1.0.35::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.35::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.35::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.0.35/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.0.35/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-filters-1.0.35/work/cups-filters-1.0.35'
 * S: '/var/tmp/portage/net-print/cups-filters-1.0.35/work/cups-filters-1.0.35'
Comment 1 Yuta SATOH 2013-07-29 11:27:10 UTC
Created attachment 354494 [details, diff]
sample patch for configure.ac
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2013-08-13 21:37:50 UTC
Fixed in 1.0.36, thanks for the patch!