Re: fgfs libz question

Sid Boyce <[email protected]>
Newsgroups gmane.games.flightgear.general
Organization blueyonder.co.uk
Message-ID <[email protected]>
Use cut & paste into your emails as the attachments don't appear in 
replies and all context is lost.

You have got to pay attention to the configure option "--libdir=" when 
building on a 64-bit system.

In openSUSE /lib, /usr/lib and /usr/local/lib are for 32-bit, /lib64, 
/usr/lib64 and /usr/local/lib64 are for 64-bit. If you are building 
64-bit and configuring it to look in /lib, /usr/lib or /usr/local/lib 
where it will only find 32-bit libraries, it's bound to fail as it does. 
It's telling you that there is a compatible 64-bit libz in /lib64 but 
not in /lib where you have configured it to look -- See the difference 
below.

slipstream:/home/lancelot/ftp/sep11/ghpsdr3-alex/trunk/src/QtRadio #  l 
/lib/libz.*
lrwxrwxrwx 1 root root    13 Aug 30 16:08 /lib/libz.so.1 -> libz.so.1.2.5*
-rwxr-xr-x 1 root root 91632 Aug 29 08:16 /lib/libz.so.1.2.5*

slipstream:/home/lancelot/ftp/sep11/ghpsdr3-alex/trunk/src/QtRadio # l 
/lib64/libz.*
lrwxrwxrwx 1 root root    13 Aug 30 16:06 /lib64/libz.so.1 -> libz.so.1.2.5*
-rwxr-xr-x 1 root root 96488 Aug 29 08:15 /lib64/libz.so.1.2.5*

Here is how I've configured Flghtgear.
   $ ./configure --prefix=/usr/local/lib64 --bindir=/usr/local/bin 
--with-threads --with-simgear=/usr/local --with-osg=/usr/local/lib64 
--libdir=/usr/local/lib64 --with-plib=/usr/lib64 
--datarootdir=/usr/local/share/FlightGear/data --enable-atcdl

You can see from this that simgear is configured so that it gets 
installed as follows
/usr/local/include/simgear/timing/sg_time.hxx
/usr/local/include/simgear/timing/timestamp.hxx
/usr/local/include/simgear/timing/timezone.h
/usr/local/include/simgear/version.h
/usr/local/include/simgear/xml
/usr/local/include/simgear/xml/easyxml.hxx
/usr/local/lib64
/usr/local/lib64/libsgbucket.a
/usr/local/lib64/libsgbvh.a
/usr/local/lib64/libsgdebug.a
/usr/local/lib64/libsgenvironment.a
/usr/local/lib64/libsgephem.a
/usr/local/lib64/libsgio.a
/usr/local/lib64/libsgmagvar.a
/usr/local/lib64/libsgmaterial.a
/usr/local/lib64/libsgmath.a
/usr/local/lib64/libsgmisc.a

OSG
------
/usr/local/include/osgWidget/Version
/usr/local/include/osgWidget/ViewerEventHandlers
/usr/local/include/osgWidget/VncClient
/usr/local/include/osgWidget/Widget
/usr/local/include/osgWidget/Window
/usr/local/include/osgWidget/WindowManager
/usr/local/lib64
/usr/local/lib64/libOpenThreads.so
/usr/local/lib64/libOpenThreads.so.2.6.0
/usr/local/lib64/libosg.so
/usr/local/lib64/libosg.so.3.1.0
/usr/local/lib64/libosgAnimation.so
/usr/local/lib64/libosgAnimation.so.3.1.0

Regards
Sid.

On 09/09/11 13:15, Donn Washburn wrote:
> Hey Group;
>
> After RPM -i the newer version and older version give me this error 
> after recompiling simgear also.  Note that it appears the same error.
> Since there is no libz.so I changed it to libz.so.1 which links to 
> libz.so.1.2.5.  The Simgear error came from a change that effected 
> flightgears config. So make distclean, ./configure, and make is this 
> "compile.err"
>
>
> ------------------------------------------------------------------------------
> Why Cloud-Based Security and Archiving Make Sense
> Osterman Research conducted this study that outlines how and why cloud
> computing security and archiving is rapidly being adopted across the IT
> space for its ease of implementation, lower cost, and increased
> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
>
>
> _______________________________________________
> Flightgear-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-users


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/

_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.