On Wed, Apr 1, 2009 at 1:28 PM, Harry Plantinga <hplan...@calvin.edu> wrote:
> Hi, > > I'm trying to build OpenSceneGraph on a SUSE system. Attempts to make > version 2.8 and 2.9.2 both yield the following error. Any suggestions? > > Thanks! > > ---------- > [ 99%] Built target osgdb_svg > Linking CXX shared module ../../../lib/osgPlugins-2.8.0/osgdb_pdf.so > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: > cannot find -lgdk-x11-2.0 > collect2: ld returned 1 exit status > make[2]: *** [lib/osgPlugins-2.8.0/osgdb_pdf.so] Error 1 > make[1]: *** [src/osgPlugins/pdf/CMakeFiles/osgdb_pdf.dir/all] Error 2 > make: *** [all] Error 2 > ---------- > > N.B. libgdk-x11-2.0.so.0 is there in the /opt/gnome/lib64 directory, where > it's supposed to be according to CMakeCache.txt. Do you have the libgdk development packages installed for your distribution? There should be a libgdk-x11-2.0.so symbolic link (without .0) somewhere in /opt/gnome/lib64 along with header files. On Linux systems build systems like automake and CMake never search for versioned shared libraries directly but rather resolve the symbolic link "libfoo.so"=>"libfoo.so.1" to know that "libfoo.so.1" is needed at runtime. Development packages that provide header files usually provide ".so" symbolic links or just plain ".so" files if versioning is not being used. OSG's cmake scripts should probably be telling you about this problem at configure time (this may be a build system bug). -- Philip Lowman
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org