On Mon, Oct 17, 2005 at 08:10:05PM +0200, Ralf Wildenhues wrote:
> * Carol Spears wrote on Mon, Oct 17, 2005 at 07:30:29PM CEST:
> > On Mon, Oct 17, 2005 at 06:30:45PM +0200, Ralf Wildenhues wrote:
> > > * Carol Spears wrote on Mon, Oct 17, 2005 at 05:46:48PM CEST:
> > > > 
> > yes.  i am a user.  i went from playing star trek and adventure on a
> > teletype machine in 1982 to more than a decade of nothing computer at
> > all and then a big jump into gnu stuff  in 1998.  i know a lot and know
> > nothing at the same time.  language will be a problem.
> 
> Oh, I meant *me*.  I am not a native speaker.  :)
> 
native speakers have problems with me even.  some ideas are difficult to
express no matter what the language.

> > > What do you expect to happen?
> > i expect that when the compiler linker knows to use the files from
> > /usr/local that libtool will also.
> 
> I actually don't think this is the issue you are seeing.
> Above link line contains no mention of glib, see?
> 
the spew that had been there, i will repaste it because it might help:
undefined reference to `g_intern_static_string' <--this small message
told people who are familar with glib that libtool was finding an older
version of the library which is located in /usr on my computer.

and yes, it would be much more clear (at least to me) if there could be
some mention of where the old library had been found.

> > i started with glib.  glib is a gnu wrapper around libc.  right now, on
> > my computer i have a functional glib installed in /usr/lib and a fully
> > enabled newer glib installed in /usr/local/lib.  every single tool in
> > the build system understands this with the exception of libtool.
> 
> Please, don't infer things.  I have a hard time to distinguish between
> facts and conclusions here.
> 
yes, sorry about this.  i go on "hearsay" myself when i started this
exchange on this bug list.  more about what i "heard".  i heard that
this change in libtool was on purpose and perhaps thought out; although
the questions being asked seem to indicated that i was misinformed.

> Does it?  Let's see.
> 
> OK, here's a list of very precise things to answer, so as to avoid any
> misunderstandings.  Please do the following and post all output (stdout
> plus stderr!) back here, ordered:  Go to the directory where
> `pangoft2topgm' should be created, then execute this (watch out, long
> lines!):
> 
> cat ../pango/libpango-1.0.la
> objdump -p ../pango/.libs/libpango-1.0.so
> 
i had to edit the line some.  i am not certain what it is you are
looking for so i included my edits incase someone ever tries to report a
bug who does not understand this stuff as much as i do.  the output
should be titled libtool-libpango-1.0.la.txt in the attachments.  also
my munging of the suggested things to type.

i was not able to munge a working objdump for this shared thing.

> cat ../pango/libpangoft2-1.0.la
> objdump -p ../pango/.libs/libpangoft2-1.0.so
> 
libtool-libpango-1.0.la.txt for this spew.

> /bin/sh ../libtool --debug --mode=link gcc  -g -O2 -Wall   -o pangoft2topgm 
> pangoft2top gm.o renderdemo.o argcontext.o ../pango/libpango-1.0.la 
> ../pango/libpangoft2-1.0.la -lfontconfig   -lfreetype -lz
> 
am i correct in assuming that you know that "../libtool" will not work?
libtool-debug.txt

> Now, just for fun, let's add /usr/local/lib to the link line:
> /bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o pangoft2topgm 
> pangoft2top gm.o renderdemo.o argcontext.o -L/usr/local/lib 
> ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig   
> -lfreetype -lz
> 
> Now, just for fun, let's _also_ add -lglib to the link line:
> /bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o pangoft2topgm 
> pangoft2top gm.o renderdemo.o argcontext.o ../pango/libpango-1.0.la 
> ../pango/libpangoft2-1.0.la -L/usr/local/lib -lglib -lfontconfig   -lfreetype 
> -lz
> 
interesting.  i think the fun was had with ../libtool and it was only
so-so in the fun department.
libtool-fun.txt

i got similar errors when adding -glib and did not paste them.

> 
> Note that I need all answers in order to be able to predictably say what
> the underlying problem might be, and how a reliable solution will look
> like.
> 
perhaps you could help me explain to the rumor monger i have available
to me how this was not intended behavior.  this way, i can correct the
people who spread the misinformation

> > maybe i am just in need of a way to tell libtool to look only in
> > /usr/local
> > 
> > the one thing i understand is that i do not understand the reasons my
> > build system was successful for so long.  it is causing me problems
> > understanding the reason it is suddenly broken as well.
> 
> Well, with the answers to above questions it might be possible to deduce
> the cause.
> 
it was an interesting look into what happens when you type what the gnu
guys suggest that you type.  i hope that my munging of your suggestions
helps to work through the problems.  and i apologize for not being able
to produce useful output for each request.

carol

#### output from cat pango/libpango-1.0.la ####
[EMAIL PROTECTED]:/build/gnome/pango$ cat pango/libpango-1.0.la
# libpango-1.0.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.20 Debian 1.5.20-2 (1.1220.2.287 
2005/08/31 18:54:15)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libpango-1.0.so.0'

# Names of this library.
library_names='libpango-1.0.so.0.1000.0 libpango-1.0.so.0 libpango-1.0.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib /usr/local/lib/libgobject-2.0.la 
/usr/local/lib/libgmodule-2.0.la -ldl /usr/local/lib/libglib-2.0.la -lm '

# Version information for libpango-1.0.
current=1000
age=1000
revision=0

# Is this an already installed library?
installed=no

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib'

[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p ../pango/libpango-1.0.la
objdump: '../pango/libpango-1.0.la': No such file
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p ../pango/.lib/libpango-1.0.la
objdump: '../pango/.lib/libpango-1.0.la': No such file
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p pango/libpango-1.0.la
objdump: pango/libpango-1.0.la: File format not recognized


#### output from several combinations of objdump -p ####
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p ../pango/libpango-1.0.la
objdump: '../pango/libpango-1.0.la': No such file
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p ../pango/.lib/libpango-1.0.la
objdump: '../pango/.lib/libpango-1.0.la': No such file
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p pango/libpango-1.0.la
objdump: pango/libpango-1.0.la: File format not recognized
[EMAIL PROTECTED]:/build/gnome/pango$ objdump -p pango/.lib/libpango-1.0.la
objdump: 'pango/.lib/libpango-1.0.la': No such file

#### output from cat pango/libpangoft2-1.0.la ####
[EMAIL PROTECTED]:/build/gnome/pango$ cat pango/libpangoft2-1.0.la
# libpangoft2-1.0.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.20 Debian 1.5.20-2 (1.1220.2.287 
2005/08/31 18:54:15)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libpangoft2-1.0.so.0'

# Names of this library.
library_names='libpangoft2-1.0.so.0.1000.0 libpangoft2-1.0.so.0 
libpangoft2-1.0.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib /build/gnome/pango/pango/libpango-1.0.la 
-lfontconfig /usr/lib/gcc/i486-linux-gnu/4.0.2/../../..//libfreetype.la -lz 
/usr/local/lib/libgobject-2.0.la /usr/local/lib/libgmodule-2.0.la -ldl 
/usr/local/lib/libglib-2.0.la -lm  '

# Version information for libpangoft2-1.0.
current=1000
age=1000
revision=0

# Is this an already installed library?
installed=no

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib'
relink_command="(cd /build/gnome/pango/pango; /bin/sh ../libtool  --mode=relink 
gcc -g -O2 -Wall -o libpangoft2-1.0.la -rpath /usr/local/lib -version-info 
1000:0:1000 -export-symbols-regex \"^pango_.*\" pangofc-font.lo 
pangofc-fontmap.lo pangofc-decoder.lo pangoft2.lo pangoft2-fontmap.lo 
pangoft2-render.lo module-defs-fc.lo opentype/libpango-ot.la libpango-1.0.la 
-lfontconfig -lfreetype -lz -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lm @inst_prefix_dir@)"

#### output fromobjdump -p pango/.libs/libpangoft2-1.0.so ####
[EMAIL PROTECTED]:/build/gnome/pango$  objdump -p pango/.libs/libpangoft2-1.0.so

pango/.libs/libpangoft2-1.0.so:     file format elf32-i386

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x00023abc memsz 0x00023abc flags r-x
    LOAD off    0x00024000 vaddr 0x00024000 paddr 0x00024000 align 2**12
         filesz 0x000009a0 memsz 0x00000a98 flags rw-
 DYNAMIC off    0x00024524 vaddr 0x00024524 paddr 0x00024524 align 2**2
         filesz 0x00000118 memsz 0x00000118 flags rw-
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-

Dynamic Section:
  NEEDED      libpango-1.0.so.0
  NEEDED      libfontconfig.so.1
  NEEDED      libfreetype.so.6
  NEEDED      libz.so.1
  NEEDED      libgobject-2.0.so.0
  NEEDED      libgmodule-2.0.so.0
  NEEDED      libdl.so.2
  NEEDED      libglib-2.0.so.0
  NEEDED      libm.so.6
  NEEDED      libc.so.6
  SONAME      libpangoft2-1.0.so.0
  RPATH       /build/gnome/pango/pango/.libs
  INIT        0x38ac
  FINI        0x22584
  HASH        0xb4
  STRTAB      0x1758
  SYMTAB      0x7b8
  STRSZ       0x155f
  SYMENT      0x10
  PLTGOT      0x24664
  PLTRELSZ    0x650
  PLTREL      0x11
  JMPREL      0x325c
  REL         0x2edc
  RELSZ       0x380
  RELENT      0x8
  VERNEED     0x2eac
  VERNEEDNUM  0x1
  VERSYM      0x2cb8
  RELCOUNT    0x67

Version References:
  required from libc.so.6:
    0x09691f73 0x00 03 GLIBC_2.1.3
    0x0d696910 0x00 02 GLIBC_2.0


######## /bin/sh ../libtool --debug *snip* ########
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ../libtool --debug --mode=link 
gcc  -g -O2 -Wall   -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig   -lfreetype 
-lz
/bin/sh: ../libtool: No such file or directory

######## /bin/sh ./libtool --debug *snip* ########
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ../libtool --debug --mode=link 
gcc  -g -O2 -Wall   -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig   -lfreetype 
-lz
/bin/sh: ../libtool: No such file or directory
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ./libtool --debug --mode=link gcc 
 -g -O2 -Wall   -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig   -lfreetype 
-lz
libtool: enabling shell trace mode
+ preserve_args=' --debug'
+ test 16 -gt 0
+ arg=--mode=link
+ shift
+ case $arg in
++ echo X--mode=link
++ /bin/sed -e '1s/^X//' -e 's/[-_a-zA-Z0-9]*=//'
+ optarg=link
+ test -n ''
+ case $arg in
+ mode=link
+ test 15 -gt 0
+ arg=gcc
+ shift
+ case $arg in
+ optarg=
+ test -n ''
+ case $arg in
+ nonopt=gcc
+ break
+ test -n ''
+ exec_cmd=
+ test -z ''
+ test -z link
+ test -n ''
+ generic_help='Try `libtool --help'\'' for more information.'
+ help='Try `libtool --help --mode=link'\'' for more information.'
+ case $mode in
+ modename='libtool: link'
+ case $host in
+ allow_undefined=yes
+ libtool_args=gcc
+ base_compile='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype -lz'
+ compile_command=gcc
+ finalize_command=gcc
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
++ pwd
+ lib_search_path=/build/gnome/pango
+ inst_prefix_dir=
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ func_infer_tag gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o 
renderdemo.o argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la 
-lfontconfig -lfreetype -lz
+ test -n ' CXX'
+ test -z ''
+ CC_quoted=
+ for arg in '$CC'
+ case $arg in
+ CC_quoted=' gcc'
+ case $@ in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ test -n ''
+ test 14 -gt 0
+ arg=-g
+ shift
+ case $arg in
+ qarg=-g
+ libtool_args='gcc -g'
+ test -n ''
+ prevarg=-g
+ case $arg in
++ echo X-g
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-g
+ case $arg in
+ test -n -g
+ compile_command='gcc -g'
+ finalize_command='gcc -g'
+ test 13 -gt 0
+ arg=-O2
+ shift
+ case $arg in
+ qarg=-O2
+ libtool_args='gcc -g -O2'
+ test -n ''
+ prevarg=-O2
+ case $arg in
++ echo X-O2
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-O2
+ case $arg in
+ test -n -O2
+ compile_command='gcc -g -O2'
+ finalize_command='gcc -g -O2'
+ test 12 -gt 0
+ arg=-Wall
+ shift
+ case $arg in
+ qarg=-Wall
+ libtool_args='gcc -g -O2 -Wall'
+ test -n ''
+ prevarg=-Wall
+ case $arg in
++ echo X-Wall
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-Wall
+ case $arg in
+ test -n -Wall
+ compile_command='gcc -g -O2 -Wall'
+ finalize_command='gcc -g -O2 -Wall'
+ test 11 -gt 0
+ arg=-o
+ shift
+ case $arg in
+ qarg=-o
+ libtool_args='gcc -g -O2 -Wall -o'
+ test -n ''
+ prevarg=-o
+ case $arg in
+ prev=output
+ test -n -o
+ compile_command='gcc -g -O2 -Wall -o'
+ finalize_command='gcc -g -O2 -Wall -o'
+ test 10 -gt 0
+ arg=pangoft2topgm
+ shift
+ case $arg in
+ qarg=pangoft2topgm
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm'
+ test -n output
+ case $prev in
+ compile_command='gcc -g -O2 -Wall -o @OUTPUT@'
+ finalize_command='gcc -g -O2 -Wall -o @OUTPUT@'
+ case $prev in
+ eval 'output="$arg"'
++ output=pangoft2topgm
+ prev=
+ continue
+ test 9 -gt 0
+ arg=pangoft2top
+ shift
+ case $arg in
+ qarg=pangoft2top
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top'
+ test -n ''
+ prevarg=pangoft2top
+ case $arg in
++ echo Xpangoft2top
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=pangoft2top
+ case $arg in
+ test -n pangoft2top
+ compile_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top'
+ finalize_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top'
+ test 8 -gt 0
+ arg=gm.o
+ shift
+ case $arg in
+ qarg=gm.o
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o'
+ test -n ''
+ prevarg=gm.o
+ case $arg in
+ objs=' gm.o'
+ test -n gm.o
+ compile_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o'
+ finalize_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o'
+ test 7 -gt 0
+ arg=renderdemo.o
+ shift
+ case $arg in
+ qarg=renderdemo.o
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o'
+ test -n ''
+ prevarg=renderdemo.o
+ case $arg in
+ objs=' gm.o renderdemo.o'
+ test -n renderdemo.o
+ compile_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o renderdemo.o'
+ finalize_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o renderdemo.o'
+ test 6 -gt 0
+ arg=argcontext.o
+ shift
+ case $arg in
+ qarg=argcontext.o
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o'
+ test -n ''
+ prevarg=argcontext.o
+ case $arg in
+ objs=' gm.o renderdemo.o argcontext.o'
+ test -n argcontext.o
+ compile_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o renderdemo.o 
argcontext.o'
+ finalize_command='gcc -g -O2 -Wall -o @OUTPUT@ pangoft2top gm.o renderdemo.o 
argcontext.o'
+ test 5 -gt 0
+ arg=../pango/libpango-1.0.la
+ shift
+ case $arg in
+ qarg=../pango/libpango-1.0.la
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la'
+ test -n ''
+ prevarg=../pango/libpango-1.0.la
+ case $arg in
+ test '' = dlfiles
+ test '' = dlprefiles
+ deplibs=' ../pango/libpango-1.0.la'
+ continue
+ test 4 -gt 0
+ arg=../pango/libpangoft2-1.0.la
+ shift
+ case $arg in
+ qarg=../pango/libpangoft2-1.0.la
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la'
+ test -n ''
+ prevarg=../pango/libpangoft2-1.0.la
+ case $arg in
+ test '' = dlfiles
+ test '' = dlprefiles
+ deplibs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la'
+ continue
+ test 3 -gt 0
+ arg=-lfontconfig
+ shift
+ case $arg in
+ qarg=-lfontconfig
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig'
+ test -n ''
+ prevarg=-lfontconfig
+ case $arg in
+ test X-lfontconfig = X-lc
+ test X-lfontconfig = X-lm
+ test X-lfontconfig = X-lc_r
+ deplibs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig'
+ continue
+ test 2 -gt 0
+ arg=-lfreetype
+ shift
+ case $arg in
+ qarg=-lfreetype
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype'
+ test -n ''
+ prevarg=-lfreetype
+ case $arg in
+ test X-lfreetype = X-lc
+ test X-lfreetype = X-lm
+ test X-lfreetype = X-lc_r
+ deplibs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype'
+ continue
+ test 1 -gt 0
+ arg=-lz
+ shift
+ case $arg in
+ qarg=-lz
+ libtool_args='gcc -g -O2 -Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype -lz'
+ test -n ''
+ prevarg=-lz
+ case $arg in
+ test X-lz = X-lc
+ test X-lz = X-lm
+ test X-lz = X-lc_r
+ deplibs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype -lz'
+ continue
+ test 0 -gt 0
+ test -n ''
+ test no = yes
+ oldlibs=
++ echo Xpangoft2topgm
++ /bin/sed -e '1s/^X//' -e 's%^.*/%%'
+ outputname=pangoft2topgm
+ libobjs_save=
+ test -n LD_LIBRARY_PATH
+ eval 'shlib_search_path=`$echo' '"X${LD_LIBRARY_PATH}"' '|' '$Xsed' -e 
''\''s/:/' '/g'\''`'
+++ echo X
+++ /bin/sed -e '1s/^X//' -e 's/:/ /g'
++ shlib_search_path=
+ eval 'sys_lib_search_path="' /usr/lib/gcc/i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.0.2/
 /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../i486-linux-gnu/lib/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../ /lib/i486-linux-gnu/4.0.2/ /lib/ 
/usr/lib/i486-linux-gnu/4.0.2/ '/usr/lib/"'
++ sys_lib_search_path=' /usr/lib/gcc/i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.0.2/
 /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../i486-linux-gnu/lib/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../i486-linux-gnu/4.0.2/ 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../ /lib/i486-linux-gnu/4.0.2/ /lib/ 
/usr/lib/i486-linux-gnu/4.0.2/ /usr/lib/'
+ eval 'sys_lib_dlsearch_path="/lib' /usr/lib /usr/X11R6/lib /usr/local/lib '"'
++ sys_lib_dlsearch_path='/lib /usr/lib /usr/X11R6/lib /usr/local/lib '
++ echo Xpangoft2topgm
++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
+ output_objdir=pangoft2topgm
+ test Xpangoft2topgm = Xpangoft2topgm
+ output_objdir=.libs
+ test '!' -d .libs
+ echo 'mkdir .libs'
mkdir .libs
+ mkdir .libs
+ status=0
+ test 0 -ne 0
+ case $output in
+ linkmode=prog
+ case $host in
+ duplicate_compiler_generated_deps=
+ specialdeplibs=
+ libs=
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' ../pango/libpango-1.0.la'
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la'
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig'
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype'
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig 
-lfreetype -lz'
+ test prog = lib
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no
+ notinst_deplibs=
+ notinst_path=
+ case $linkmode in
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=no
+ newdlfiles=
+ newdlprefiles=
+ passes='conv scan dlopen dlpreopen link'
+ for pass in '$passes'
+ test prog,conv = lib,link
+ test prog,conv = prog,scan
+ test prog = prog
+ case $pass in
+ test conv = dlopen
+ for deplib in '$libs'
+ lib=
+ found=no
+ case $deplib in
+ lib=../pango/libpango-1.0.la
+ test no = yes
+ test -f ../pango/libpango-1.0.la
+ echo 'libtool: link: cannot find the library `../pango/libpango-1.0.la'\'''
libtool: link: cannot find the library `../pango/libpango-1.0.la'
+ exit 1
#### just for fun #1  adding /usr/local/lib to the link line ####

[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ./libtool --mode=link gcc  -g -O2 
-Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
-L/usr/local/lib ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la 
-lfontconfig   -lfreetype -lz
libtool: link: cannot find the library `../pango/libpango-1.0.la'
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ./libtool --mode=link gcc  -g -O2 
-Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
-L/usr/local/lib pango/libpango-1.0.la pango/libpangoft2-1.0.la -lfontconfig   
-lfreetype -lz
gcc -g -O2 -Wall -o .libs/pangoft2topgm pangoft2top gm.o renderdemo.o 
argcontext.o  -L/usr/local/lib pango/.libs/libpango-1.0.so 
pango/.libs/libpangoft2-1.0.so -lfontconfig /usr/lib/libfreetype.so -lz
gcc: pangoft2top: No such file or directory
gcc: gm.o: No such file or directory
gcc: renderdemo.o: No such file or directory
gcc: argcontext.o: No such file or directory
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ./libtool --mode=link gcc  -g -O2 
-Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
-L/usr/local/lib ../pango/.lib/libpango-1.0.la ../pango/.lib/libpangoft2-1.0.la 
-lfontconfig   -lfreetype -lz
libtool: link: cannot find the library `../pango/.lib/libpango-1.0.la'
[EMAIL PROTECTED]:/build/gnome/pango$ /bin/sh ./libtool --mode=link gcc  -g -O2 
-Wall -o pangoft2topgm pangoft2top gm.o renderdemo.o argcontext.o 
-L/usr/local/lib pango/.lib/libpango-1.0.la pango/.lib/libpangoft2-1.0.la 
-lfontconfig   -lfreetype -lz
libtool: link: cannot find the library `pango/.lib/libpango-1.0.la'


_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to