Build error linking to libneon.so (/usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp')

Sébastien Santoro dereckson at espace-win.org
Tue Jun 29 13:43:58 UTC 2010


Good afternoon,

To my mind, it's more a problem with neon than with SSL, an HTTP
library, used by sound juicer & co.

We've two versions of it: /usr/ports/www/neon28/ and www/neon29.

Last week, I compiled Gnome, then portupgrade and pkgdb -F and had at
a moment problem with packages dependencies of neon29.

The solution were to deinstall neon28 and install neon29 instead.

I tried right now to recompile sound-juicer and it works

Addendum: yep, it's well a symbol added in neon 0.29, according this commit:
http://lists.manyfish.co.uk/pipermail/neon-commits/2009-September/000827.html

On Tue, Jun 29, 2010 at 11:31 AM, Ewald Jenisch <a at jenisch.at> wrote:
> Hi,
>
> I'm experiencing problems building gnome-related ports that depend on
> openssl.
>
> To give you a specific example:
>
> /usr/ports/audio/sound-juicer fails with the following error:
>
> ...
> gmake[2]: Entering directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.
> 28.2/src'
>  CXX    sound_juicer-dummy.o
>  CC     sound_juicer-sj-main.o
>  CC     sound_juicer-sj-prefs.o
>  CC     sound_juicer-sj-play.o
>  CC     sound_juicer-sj-about.o
>  CC     sound_juicer-sj-extracting.o
>  CC     sound_juicer-sj-inhibit.o
>  CC     sound_juicer-sj-genres.o
>  CC     sound_juicer-gedit-message-area.o
>  CC     sound_juicer-gconf-bridge.o
>  CC     sound_juicer-egg-play-preview.o
>  CC     sound_juicer-bacon-message-connection.o
>  CXXLD  sound-juicer
> /usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp'
> gmake[2]: *** [sound-juicer] Error 1
> gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.2
> 8.2/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.2
> 8.2'
> ...
>
>
> Likewise /usr/ports/audio/libmusicbrainz3 fails with the same symptoms:
>
> ...
> cd /usr/ports/audio/libmusicbrainz3/work/libmusicbrainz-3.0.2/examples && /usr/l
> ocal/bin/cmake -E cmake_link_script CMakeFiles/cdlookup.dir/link.txt --verbose=1
> /usr/bin/c++   -O2 -fno-strict-aliasing -pipe   CMakeFiles/cdlookup.dir/cdlookup
> .o  -o cdlookup  ../src/libmusicbrainz3.so.6.2.0 /usr/local/lib/libneon.so /usr/
> local/lib/libdiscid.so -Wl,-rpath,/usr/ports/audio/libmusicbrainz3/work/libmusic
> brainz-3.0.2/src:/usr/local/lib
> /usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp'
> *** Error code 1
> 1 error
> *** Error code 2
> /usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp'
> *** Error code 1
> 1 error
> *** Error code 2
> 4 errors
> *** Error code 2
> 1 error
> *** Error code 1
>
> Stop in /usr/ports/audio/libmusicbrainz3.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100628-41
> 468-2v4uvd-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libmusicbrainz3-3.0.2_3 U
> PGRADE_PORT_VER=3.0.2_3 make
>
>
> Seems to be related to openssl - please note that I've got
> openssl-1.0.0a installed from ports; so basically there's openssl from
> the ports plus the one from the base system (0.9.8e).
>
> I already tried to re-build (make deinstall; make install) of
> /usr/ports/www/neon28. Building/installing neon28 went OK, however the
> build errors above remain.
>
>
> Even tried to re-build everything that depends on openssl, i.e.
> portupgrade -fr openssl\* - errors remain :-(.
>
>
> I've got the following environment: FreeBSD 7.3, AMD64.
>
>
> Please note that the errors above are absolutely reproducible.
>
> Thanks much in advance for any clue,
> -ewald
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>

-- 
Sébastien Santoro aka Dereckson
http://www.dereckson.be/


More information about the freebsd-gnome mailing list