Re: Garnome 2.16 - /usr/lib/libpopt.so: could not read symbols: File in wrong format



Let's go on a hunt for popt in libtool and pkg_config files.

Let:  $garnome == root of the GARNOME install tree

(1) cd $garnome/lib
grep -l popt *.la

This will provide a list of libtool files that have the string "popt" in
them.  

For each file in the list:
* open the file in an editor
* look for popt
* which lib, 32-bit or 64-bit, will be picked up
* can you fix this by altering a path or adding a "-L" construct?



(2) cd $garnome/lib/pkgconfig

grep -l popt *

This will provide a list of libtool files that have the string "popt" in
them.  

For each file in the list:
* open the file in an editor
* look for popt
* see which lib, 32-bit or 64-bit, will be picked up
* can you fix this by altering a path or adding a "-L" construct?

Once you find the problem files and fix them, you may be able to
proceed. You will also need to figure out how they got that way.


We are learning that 64-bit OpenSuSe has some issues.

-Joseph

=============================================================================


On Fri, 2006-09-15 at 21:26 +0200, Sahid Ferdjaoui wrote:
> re Joseph :)
> 
> yes, libpopt.so for 64bit, he is /usr/lib64,
> i have edit gar.conf.mk >> "LD_LIBRARY_PATH := /usr/lib64" ...
> but it doesn't work, there is always the same problem
> 
> 
> Joseph E. Sacco, Ph.D. wrote:
> > Sahid,
> >
> >
> > If you are running a 64-bit version of OpenSuse, a good guess might be
> > that the build picked up a 32-bit version of libpopt.so.
> >
> > See if there is a 64-bit version of libpopt.so installed on your system.
> > If so, you may need to rework LB_LIBRARY_PATH to insure that the 64-bit
> > version is being picked up first.
> >
> >
> > -Joseph
> >
> > ==================================================================
> >
> >
> > On Fri, 2006-09-15 at 18:45 +0200, Sahid Ferdjaoui wrote:
> >   
> >> Hello, i have already an error for build Garnome 2.16
> >> on OpenSuSE 10.1 x86_64
> >> you have idea ?
> >>
> >> libs/_gnome.ver -o .libs/_gnome.so
> >>
> >> */usr/lib/libpopt.so: could not read symbols: File in wrong format*
> >>
> >> collect2: ld returned 1 exit status
> >>
> >> make[6]: *** [_gnome.la] Erreur 1
> >>
> >> make[6]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/bindings/gnome-python/work/main.d/gnome-python-2.16.0/gnome'
> >>
> >> make[5]: *** [all-recursive] Erreur 1
> >>
> >> make[5]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/bindings/gnome-python/work/main.d/gnome-python-2.16.0'
> >>
> >> make[4]: *** [all] Erreur 2
> >>
> >> make[4]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/bindings/gnome-python/work/main.d/gnome-python-2.16.0'
> >>
> >> make[3]: *** [build-work/main.d/gnome-python-2.16.0/Makefile] Erreur 2
> >>
> >> make[3]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/bindings/gnome-python'
> >>
> >> make[2]: *** [../../bindings/gnome-python/cookies/main.d/install] Erreur 2
> >>
> >> make[2]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/desktop/gnome-python-desktop'
> >>
> >> make[1]: *** [../../desktop/gnome-python-desktop/cookies/main.d/install] Erreur 2
> >>
> >> make[1]: Leaving directory `/home/sahid/tmp/garnome-2.16.0/desktop/deskbar-applet'
> >>
> >> make: *** [paranoid-install] Erreur 2
> >>
> >> slave:/home/sahid/tmp/garnome-2.16.0/desktop #
> >>
> >>
> >> -- 
> >>   sahid.funraill.org
> >>     semi-official foundation for open source :)
> >>
> >>
> >>     
> 
-- 
joseph_sacco [at] comcast [dot] net




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