[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another powerpc64 biarch problem.

From: Peter O'Gorman
Subject: Re: Another powerpc64 biarch problem.
Date: Tue, 04 Mar 2008 09:56:33 -0600
User-agent: Thunderbird (X11/20071115)

Steven Munroe wrote:
> On Sat, 2008-03-01 at 09:39 -0600, Peter O'Gorman wrote:
>> Steven Munroe wrote:
>>> I am trying to build a package on a OpenSuse-10.3 PowerMac G5. and I see
>>> the following:
>>> /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc  -m64 -g -O2
>>> -mcpu=power
>>> 4 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
>>> -Wmissing
>>> -prototypes -Wmissing-declarations -Wstrict-prototypes
>>> -Wmissing-prototypes -Wn
>>> ested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
>>> -Wwrite-strings  -m64
>>> -o pedump  pedump.o
>>> libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonouti
>>> ls.la ../../libgc/libmonogc.la -pthread -lgthread-2.0 -lrt -lglib-2.0
>>> -lm -ldl
>>>  -lpthread -lm
>>> libtool: link: cannot find the library `/usr/lib64/libpcre.la' 
>>> or unhandled argument `/usr/lib64/libpcre.la'
>> It seems likely that some other .la file has /usr/lib64/libpcre.la in
>> its dependency_libs. If you add --debug immediately prior to the
>> --tag=CC and save stdout and stderr to a log, reading the log should
>> tell you which one. Alternatively, grep for /usr/lib64/libpcre.la in
>> /usr/lib64.
> The dependency seem to be coming from /usr/lib64/libgthread-2.0.la at
> least on the system that is failing. The older (--debug output ->
> libtool-libpcre-ok.tgz) system does not seem to have the same
> dependency.
> I still don't understand why libtool does not simply link to
> the /usr/lib64/libpcre.so that is there?
> This is really annoying...

Both libgthread and libglib have /usr/lib64/libpcre.la in
dependency_libs, so this file must have existed when glib was built. Now
it does not.

Your choices are:
1) rebuild glib (when rebuilt without the presence of
/usr/lib64/libpcre.la, that will not appear in dependency_libs)
2) rebuild/reinstall 64bit pcre (to get the .la file back)
3) edit the glib .la files by hand and change /usr/lib64/libpcre.la to
-lpcre (ugly)

Peter O'Gorman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]