Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86008 - media-gfx/gnuplot-4.0-r1 fails to link againt media-libs/pdflib-6.0.0_p1; missing symbol
Summary: media-gfx/gnuplot-4.0-r1 fails to link againt media-libs/pdflib-6.0.0_p1; mis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 07:02 UTC by kevin
Modified: 2005-05-24 15:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin 2005-03-20 07:02:39 UTC
my system has the newest pdflib installed: media-libs/pdflib-6.0.0_p1. when trying to install gnuplot-4.0.0-r1, I get the following link error:

i686-pc-linux-gnu-gcc  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -o gnuplot_x11  gplt_x11.o gpexecute.o getcolor_x11.o -lX11  -lm 
term.o(.text+0x252fb): In function `PDF_init':
: undefined reference to `PDF_open_fp'
collect2: ld returned 1 exit status
distcc[26934] ERROR: compile (null) on localhost failed
make[3]: *** [gnuplot] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
 

Reproducible: Always
Steps to Reproduce:
1. emerge gnuplot
2.
3.
Actual Results:  
i686-pc-linux-gnu-gcc  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -L/usr/lib -Wl,-
rpath,/usr/lib -L/usr/lib -o gnuplot_x11  gplt_x11.o gpexecute.o getcolor_x11.o -lX11  -lm 
term.o(.text+0x252fb): In function `PDF_init':
: undefined reference to `PDF_open_fp'
collect2: ld returned 1 exit status
distcc[26934] ERROR: compile (null) on localhost failed
make[3]: *** [gnuplot] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'



Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r4 
i686)
===============================================================
==
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) Processor
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 12:04:
26)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/
config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/
config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://gentoo.osuosl.org/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rav/gentoo-portage"
USE="x86 3dnow X aalib alsa apm arts avi berkdb bindist bitmap-fonts cdr crypt cups curl directfb dvd 
dvdr emboss encode esd fam flac flash font-server foomaticdb fortran gdbm ggi gif gphoto2 gpm gtk 
gtk2 gtkhtml guile imagemagick imap imlib ipv6 jpeg kde ldap libg++ libwww mad maildir mikmod 
motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql nas ncurses nls nptl ofx 
oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime rage128 readline ruby 
samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts 
xinerama xml xml2 xmms xv zlib video_cards_rage128"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 kevin 2005-03-20 07:40:20 UTC
oops, I didn't paste enough of the compile output in to show that it's actually trying to link in pdflib:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/4.0\" -DCONTACT=\"gnuplot-bugs@lists.sourceforge.net\" -DHELPFILE=\"/usr/share/gnuplot/gih/gnuplot.gih\" -I/usr/include/libpng12 -I/usr/include  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -c -DGPLT_X11_MODE -o getcolor_x11.o ./getcolor.c
i686-pc-linux-gnu-gcc  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -o gnuplot  alloc.o axis.o binary.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o -l3dkit -lvgagl -lreadline  -lncurses -lggi -lvga  -lz -lpng -lpdf  -lm 
i686-pc-linux-gnu-gcc  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -o bf_test  bf_test.o binary.o alloc.o  -lm 
i686-pc-linux-gnu-gcc  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -o gnuplot_x11  gplt_x11.o gpexecute.o getcolor_x11.o -lX11  -lm 
term.o(.text+0x252fb): In function `PDF_init':
: undefined reference to `PDF_open_fp'
collect2: ld returned 1 exit status
distcc[26934] ERROR: compile (null) on localhost failed
make[3]: *** [gnuplot] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 15:56:23 UTC
Added a patch to gnuplot, and added pdflib-6.0.1 to the tree.