Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363491 - media-libs/gd-2.0.35-r3[-zlib] undefined reference to gdImageCreateFromGd2Part
Summary: media-libs/gd-2.0.35-r3[-zlib] undefined reference to gdImageCreateFromGd2Part
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 14:38 UTC by Albert W. Hopkins
Modified: 2011-04-15 08:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,35.17 KB, text/plain)
2011-04-13 21:19 UTC, Albert W. Hopkins
Details
emerge --info (emerge--info.txt,2.58 KB, text/plain)
2011-04-13 21:21 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2011-04-13 14:38:08 UTC
I have a link error

/bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -msse4.1  -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -o gdtopng  gdtopng.o ./libgd.la  -ljpeg -lfontconfig -lfreetype -lpng14 -lm
gdparttopng.o: In function `main':
gdparttopng.c:(.text+0xc1): undefined reference to `gdImageCreateFromGd2Part'
collect2: ld returned 1 exit status

This is with USE=-zlib.  If I build with USE=zlib then it builds fine.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-13 16:08:40 UTC
1) Please post your `emerge --info' too.
2) Please attach the entire build log.
Comment 2 Albert W. Hopkins 2011-04-13 21:19:09 UTC
Created attachment 269869 [details]
build.log
Comment 3 Albert W. Hopkins 2011-04-13 21:21:11 UTC
Created attachment 269871 [details]
emerge --info
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-04-14 18:03:40 UTC
seems like splitting the flags was not a good idea...
Comment 5 SpanKY gentoo-dev 2011-04-15 08:51:21 UTC
not really.  gd will always fail if zlib isnt installed.  the new ebuild simply fixes the automagic dependency on it.

http://sources.gentoo.org/media-libs/gd/gd-2.0.35-r3.ebuild?r1=1.1&r2=1.2