Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 11:31:20 +0200
From:      Ewald Jenisch <a@jenisch.at>
To:        gnome@freebsd.org
Subject:   Build error linking to libneon.so (/usr/local/lib/libneon.so: undefined reference to `SSL_SESSION_cmp')
Message-ID:  <20100629093120.GA23306@aurora.oekb.co.at>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100629093120.GA23306>