public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.ping.de>
To: Rick Taube <taube@uiuc.edu>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: guile-gtk-0.19  build error
Date: Fri, 20 Apr 2001 18:01:00 -0000	[thread overview]
Message-ID: <874rvj6vk1.fsf@zagadka.ping.de> (raw)
In-Reply-To: <v04210100b706602de555@[128.174.103.145]>

Rick Taube <taube@uiuc.edu> writes:

> When I try to build guile-gtk-0.19 (Red Hat 7, Guile 1.4) I get an
> error in the build that I havent been able to figure out. Its dying
> on an unresolved symbol 'scm_master_freelist':

The problem is probably with the link command that libtool produces:
 
> gcc -g -O2 -o .libs/guile-gtk-1.2 main.o .libs/libguilegtk-1.2.so
> -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi
    ^^^^^^^^
> -lXext -lX11 -lm -lm -L/usr/local/lib -lguile -lm -L/usr/lib
                         ^^^^^^^^^^^^^^ ^^^^^^^
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
> -lXext -lX11 -lm -lm -Wl,--export-dynamic -Wl,--rpath
> -Wl,/usr/local/lib

Note the subseq "-L/usr/lib -L/usr/local/lib -lguile".  This makes the
linker find an old -lguile in /usr/lib, probably, while your real
-lguile is in /usr/local/lib.  Right?

A fix would be to run "make LDFLAGS=-L/usr/local/lib".  This should
prepend -L/usr/local/lib to the front of linker command, and -lguile
will be found in /usr/local/lib.

      reply	other threads:[~2001-04-20 18:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-20 14:56 Rick Taube
2001-04-20 18:01 ` Marius Vollmer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874rvj6vk1.fsf@zagadka.ping.de \
    --to=mvo@zagadka.ping.de \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=taube@uiuc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).