Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2009 03:06:33 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Markus Hoenicka <markus.hoenicka@mhoenicka.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xfburn fails with 'Undefined symbol "__malloc_lock"'
Message-ID:  <4A441109.3040308@otenet.gr>
In-Reply-To: <19012.105.500949.723890@yeti.mininet>
References:  <19012.105.500949.723890@yeti.mininet>

next in thread | previous in thread | raw e-mail | index | archive | help
Markus Hoenicka wrote:
> Hi,
>
> I've upgraded my laptop from 6.4 to 7.2-RELEASE. Essentially
> everything went fine, except that for some reason xfburn no longer
> works. If I install a package using "portupgrade -f -PP", I see the
> following at runtime:
>
> markus@yeti:/usr/home/markus# xfburn &
> [1] 47214
> markus@yeti:/usr/home/markus# /libexec/ld-elf.so.1: /lib/libpthread.so.2: Undefined symbol "__malloc_lock"
>
> If I build xfburn in the ports tree, I get the following error at
> compile time:
>
> /usr/bin/ld: warning: libcam.so.3, needed by /usr/local/lib/libburn.so, may conflict with libcam.so.4
> /lib/libpthread.so.2: undefined reference to `__malloc_lock'
>
> I assume that I somehow managed to botch the 6->7 upgrade, but would
> anyone know how to fix this particular problem?
>
> regards,
> Markus
>   

Upgrading between major versions requires all installed ports to be
rebuilt, so they get linked to the new versions of the libraries.
I suppose you missed this step, older apps may still work but there is a
problem installing new ones.

Please see the instructions at the end of section 24.2.3 (portupgrade etc):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#FREEBSDUPDATE-UPGRADE

These are still applicable even if you used the traditional source-based
way of upgrading the base system (instead of freebsd-update)

(AFAIR,  if you upgraded via source, you will also need to run make
delete-old-libs in /usr/src after successfully recompiling ports)



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