I should have explained this better.  The whole idea behind libtool is
that it takes care of the libraries for you, makes things portable, and
you can ignore all the nasty details.  Specifying -L../gg/.libs is
intruding on libtools job - it is the one stashing libs in the .libs
directory and libtool is supposed to make things work on the surface as
things would be expected to work without it.  If your libtool is correct
then "-L../gg" is sufficient.

On 05 Jul 2001 09:06:37 -0600, Thayne Harbaugh wrote:
> I think that it needs to be -L../gg and not -L../gg/.libs
> 
> Has any tried libtool 1.4 and done "libtoolize --copy --force" between
> running autogen.sh and configure ?
> 
> On 04 Jul 2001 18:34:14 -0400, Brian S. Julin wrote:
> > On 4 Jul 2001, Thayne Harbaugh wrote:
> > > > Building needs to be fixed to work without LibGG being preinstalled. I thin
> > > > that has been done - will verify later if/when I find the time.
> > > 
> > > This should be fixed - it works for me!
> > 
> > Hmm, not for me: deleted installed gg/gii/ggi files and did a fresh 
> > checkout as a non-root user, did autogen and configure, and make
> > dies as before:
> > 
> > gcc -shared  dl.lo gii.lo init.lo unix.lo  -L../gg -lgg -lc  -Wl,-soname 
>-Wl,libgii.so.0 -Wl,-retain-symbols-file -Wl,./EXPSYMS -o .libs/libgii.so.0.0.7
> > /usr/bin/ld: cannot find -lgg
> > collect2: ld returned 1 exit status
> > make[2]: *** [libgii.la] Error 1
> > make[2]: Leaving directory `/usr/src/sftest/ggi-core/libgii/gii'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/sftest/ggi-core/libgii'
> > make: *** [all-recursive-am] Error 2
> > bri@sublime:/usr/src/sftest/ggi-core/libgii$ 
> > 
> > It seems to work if I cd to gii and run the failing command 
> > changing -L../gg to -L../gg/.libs
> > 
> > --
> > Brian
> 
> -- 
> Thayne Harbaugh
> 
> Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
> restful it is to watch the cursor blink.  Close your eyes.  The opinions
> stated above are yours.  You cannot imagine why you ever felt otherwise.

-- 
Thayne Harbaugh

Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
restful it is to watch the cursor blink.  Close your eyes.  The opinions
stated above are yours.  You cannot imagine why you ever felt otherwise.

Reply via email to