Manuel Stühn <freebsdnewbie(at)freenet.de> wrote:
> Karsten Gorling:
> > Manuel Stühn <freebsdnewbie(at)freenet.de> [060520 21:05]:
> > > kann, allerdings weiß ich nicht, wie ich das auf die (vorhandene)
> > > Linux-Bibliothek umbiegen kann. Ein setzen der LD_LIBRARY_PATH-Variable
> > > half nicht.
> >
> > Mit dem Programm "brandelf" kannst Du ein Binary so markieren, dass
> > dann automatisch die richtigen Bibliotheken geladen werden. Schau Dir
> > einfach mal die Manpage an.
>
> Ge-brandelf-t hatte ich es bereits.
>
> Das Problem war, dass das Programm die Bibliothek unter /usr/X11R6/lib
> erwartete, das Linux-Binary liegt jedoch unter /compat/linux/usr/lib. Ein
> Symlink nach /compat/linux/usr/X11R6/lib schaffte Abhilfe bei diesem Problem.
Hast Du das Linux-ldconfig laufen lassen? Das ist notwen-
dig, damit Linux-shared-libraries funktionieren (bei Linux-
ports wird es automatisch erledigt):
/compat/linux/sbin/ldconfig -r /compat/linux
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Tue 06 Jun 2006 - 14:13:18 CEST