Linking problem with FreeBSD
- From: Marc van Kempen <marc bowtie nl>
- To: gtk-list redhat com
- Subject: Linking problem with FreeBSD
- Date: Sun, 07 Feb 1999 12:25:57 +0100
Hi,
Since of several releases ago there is an annoying problem with
the gtk and glib releases (also tested on gtk+-1.1.15, and glib-1.1.15).
FreeBSD 2.2.6 (and 2.2.x?, I haven't been able to test that, FreeBSD 3.x
should be ok since it's ELF) has a problem linking correctly.
Because `gtk-config --libs` specifies -lgtk instead of -lgtk-1.1 it
links with the static libraries.
There are two ways around this problem:
1. changce gtk-config to specify -lgtk-1.1 -lgdk-1.1 etc (same
problem for glib)
2. Add an extra symbolic link
Currently these links are being made:
libgdk-1.1.so.14.1 libgdk.a
libgdk.la
libgdk.so -> libgdk-1.1.so.14.1
Adding this link solves the problem:
libgdk.so.14.1 -> libgdk-1.1.so.14.1
Idem for the rest of the libraries.
Are there any FreeBSD'ers that have the same problem? If so please
try this fix (adding the symbolic link)
If this checks out to be ok, could it be added to the distribution?
Regards,
Marc.
--
----------------------------------------------------
Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases
tel. +31 40 2 43 20 65
fax. +31 40 2 44 21 86 http://www.bowtie.nl
----------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]