Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440246 - mail-client/alpine-2.00-r4 - ld: note: 'RAND_seed' is defined in DSO /usr/lib/libcrypto.so so try adding it to the linker command line
Summary: mail-client/alpine-2.00-r4 - ld: note: 'RAND_seed' is defined in DSO /usr/lib...
Status: RESOLVED DUPLICATE of bug 391387
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Sascha Lucas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 10:49 UTC by jan vereecke
Modified: 2012-10-31 04:53 UTC (History)
1 user (show)

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


Attachments
build info (file_440246.txt,115.27 KB, text/plain)
2012-10-30 10:54 UTC, jan vereecke
Details
emerge info (file_440246.txt,5.00 KB, text/plain)
2012-10-30 10:54 UTC, jan vereecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan vereecke 2012-10-30 10:49:28 UTC
compiling alpine-2.00-r4 with flag '+passfile' results in a linker error

Reproducible: Always

Steps to Reproduce:
1. echo "mail-client/alpine chappa nls onlyalpine passfile spell ssl threads -doc -ipv6 -kerberos -ldap -smime -topal" > /etc/portage/package.use/alpine
2. emerge -1 =mail-client/alpine-2.00-r4
3. build fail with linker error described below
Actual Results:  
alpine build error:
i686-pc-linux-gnu-gcc -std=gnu99 -g -pthread -march=atom -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -o rpdump rpdump.o  -ldl -L/usr/lib -lcrypto ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lncurses -lssl -lpam
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/ld: ../c-client/c-client.a(osdep.o): undefined reference to symbol 'RAND_seed'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/ld: note: 'RAND_seed' is defined in DSO /usr/lib/libcrypto.so so try adding it to the linker command line
/usr/lib/libcrypto.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status


Expected Results:  
alpine should link correctly. According to google, this might be due to a changed behaviour of the linker. See https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
(not sure if this also applies here)

emerge --info and full build info as separate attachments
Comment 1 jan vereecke 2012-10-30 10:54:14 UTC
Created attachment 327756 [details]
build info
Comment 2 jan vereecke 2012-10-30 10:54:52 UTC
Created attachment 327758 [details]
emerge info
Comment 3 Eray Aslan gentoo-dev 2012-10-31 04:53:56 UTC

*** This bug has been marked as a duplicate of bug 391387 ***