[opensuse-factory] gdk-pixbuf/gdk-pixbuf.h: No such file or directory
![](https://seccdn.libravatar.org/avatar/57026391ede7e8b31de2d5abc5f93321.jpg?s=120&d=mm&r=g)
Hi! It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory. With what should I replace it? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
On 26/08/11 15:54, Ilya Chernykh wrote:
Hi!
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it?
Are using the proper buildRequires on gdk-pixbuf-devel ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
On 26/08/11 19:54, Ilya Chernykh wrote:
Hi!
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it? /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably. I found the same problem some weeks ago when wxWidget packages were splintered into many incompatibly named bits and I had to keep installing new packages until I hit the right one.
I can't see why and can only surmise that someone is being paid per produced package. Regards Sid. -- 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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/8cdb50ba0436e8d2915dc2a436137fda.jpg?s=120&d=mm&r=g)
On Friday 26 August 2011 20:32:12 Sid Boyce wrote:
On 26/08/11 19:54, Ilya Chernykh wrote:
Hi!
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it?
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably.
Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/57026391ede7e8b31de2d5abc5f93321.jpg?s=120&d=mm&r=g)
On Friday 26 August 2011 23:57:27 Anders Johansson wrote:
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it?
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably.
Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically
Actually the place of the headers did not change. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/8cdb50ba0436e8d2915dc2a436137fda.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 19:43:05 Ilya Chernykh wrote:
On Friday 26 August 2011 23:57:27 Anders Johansson wrote:
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it?
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably.
Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically
Actually the place of the headers did not change.
I have no idea what you are trying to say by this. Your initial email stated that they have been removed, now you say it did not change. Was it because of a typo? What are you trying to tell us? My contribution to this thread was simply that pkg-config should be used instead of hard coded -I paths, so these issues never arise, no matter what a packager decides to do Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/57026391ede7e8b31de2d5abc5f93321.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 20:06:41 Anders Johansson wrote:
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it?
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably.
Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically
Actually the place of the headers did not change.
I have no idea what you are trying to say by this. Your initial email stated that they have been removed, now you say it did not change. Was it because of a typo? What are you trying to tell us?
I just checked and the headers are in place. They just nor found. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
On 27/08/11 17:06, Anders Johansson wrote:
On Saturday 27 August 2011 19:43:05 Ilya Chernykh wrote:
On Friday 26 August 2011 23:57:27 Anders Johansson wrote:
It seems the header gdk-pixbuf/gdk-pixbuf.h has been removed from Factory.
With what should I replace it? /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h More like rearranged, same for glibconfig.h, the sources will have to be altered suitably. Aren't all gtk/gdk packages configured with pkgconfig? Changes like that should be picked up automatically Actually the place of the headers did not change. I have no idea what you are trying to say by this. Your initial email stated that they have been removed, now you say it did not change. Was it because of a typo? What are you trying to tell us?
My contribution to this thread was simply that pkg-config should be used instead of hard coded -I paths, so these issues never arise, no matter what a packager decides to do
Anders Anders, this is typically what happens for some of the header files. They are part of another header file which fails to find them. /usr/include/glib-2.0/glib/gtypes.h has the following #include <glibconfig.h> #include <glib/gmacros.h> #include <time.h>
slipstream:/home/lancelot/ftp/aug11/GHP/ghpsdr3-alex/trunk/src/receiver # make gcc -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -g -O3 -msse -msse3 -ffast-math -Wall -c -o agc.o agc.c In file included from /usr/include/glib-2.0/glib/galloca.h:34:0, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from agc.c:30: /usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory compilation terminated. make: *** [agc.o] Error 1 These are the includes in the Makefile:- OPTIONS=-g -O3 -msse -msse3 -ffast-math -Wall INCLUDES=-I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include\ -I/usr/include/atk-1.0 -I/usr/include/cairo\ -I/usr/include/pango-1.0 -I/usr/include/glib-2.0\ -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1\ -I/usr/include/freetype2 -I/usr/include/libpng12 \ -I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \ -I/usr/include glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found. In this case the Makefile was obviously done for Ubuntu. It's just a divergence between a Makefile prepared for Ubuntu rather than for openSUSE though it's only reared its head in the last day or so. Regards Sid. -- 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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/8cdb50ba0436e8d2915dc2a436137fda.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 17:43:36 Sid Boyce wrote:
glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found.
No, it should be `pkg-config --cflags glib-2.0` With that, it will work on all distributions. This is precisely the point of pkg-config Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/57026391ede7e8b31de2d5abc5f93321.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 20:52:37 Anders Johansson wrote:
On Saturday 27 August 2011 17:43:36 Sid Boyce wrote:
glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found.
No, it should be
`pkg-config --cflags glib-2.0`
With that, it will work on all distributions. This is precisely the point of pkg-config
Just some errors that appeared this week: /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: main.o: undefined reference to symbol 'boost::system::system_category()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line /usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [lyx-qt] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: src/dcopIface_skel.o: undefined reference to symbol 'typeinfo for DCOPObject' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'typeinfo for DCOPObject' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [src/abakus] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: sbctester.o: undefined reference to symbol 'sqrt@@GLIBC_2.0' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [sbctester] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: ../celengine/libcelengine.a(glext.o): undefined reference to symbol 'dlopen@@GLIBC_2.1' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line /lib/libdl.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[4]: *** [celestia] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: build/app/mainWindow.o: undefined reference to symbol 'XSync' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'XSync' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [build/app/codeine] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: hubwdgt.o: undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [dc_qt] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: flagStonePort/transform-cxx-bsd/transform/libtransform.a(FSTransform.o): undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [../bin/f4l] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: arts.o: undefined reference to symbol 'Arts::Dispatcher::~Dispatcher()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'Arts::Dispatcher::~Dispatcher()' is defined in DSO /opt/kde3/lib/libmcop.so.1 so try adding it to the linker command line /opt/kde3/lib/libmcop.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [fleur2] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: gui.o: undefined reference to symbol 'operator new(unsigned int)@@GLIBCXX_3.4' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'operator new(unsigned int)@@GLIBCXX_3.4' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [kamix] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: kasablanca.all_cpp.o: undefined reference to symbol 'BIO_new_socket' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'BIO_new_socket' is defined in DSO /lib/libcrypto.so.1.0.0 so try adding it to the linker command line /lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [kasablanca] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: katalogservice/katalogservicedlg.o: undefined reference to symbol 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' is defined in DSO /opt/kde3/lib/libkdeui.so.4 so try adding it to the linker command line /opt/kde3/lib/libkdeui.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [katalogservice/katalogservice] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: CMakeFiles/kbfxconfigapp.dir/kbfxconfigapp.o: undefined reference to symbol 'DCOPRef::DCOPRef(QCString const&, QCString const&)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'DCOPRef::DCOPRef(QCString const&, QCString const&)' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [bin/kbfxconfigapp] Error 1 ...and so on and so on. Totally tens of packages broken. I do not know how to fix all this. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/8cdb50ba0436e8d2915dc2a436137fda.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 21:09:57 Ilya Chernykh wrote:
Just some errors that appeared this week: [...] /usr/lib/libX11.so.6: could not read symbols: Invalid operation /lib/libz.so.1: could not read symbols: Invalid operation /opt/kde3/lib/libmcop.so.1: could not read symbols: Invalid operation /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation /lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation /opt/kde3/lib/libkdeui.so.4: could not read symbols: Invalid /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation
Looks like the same error over and over. The linker can't read your libraries. I'm not sure what the "invalid operation" is that it tries to do, so maybe try running the ld command manually and see if you get something more informative Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/bff0c215e01f23fcee6fe49e65fae458.jpg?s=120&d=mm&r=g)
On Sat, Aug 27, 2011 at 09:09:57PM +0400, Ilya Chernykh wrote:
On Saturday 27 August 2011 20:52:37 Anders Johansson wrote:
On Saturday 27 August 2011 17:43:36 Sid Boyce wrote:
glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found.
No, it should be
`pkg-config --cflags glib-2.0`
With that, it will work on all distributions. This is precisely the point of pkg-config
Just some errors that appeared this week:
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: main.o: undefined reference to symbol 'boost::system::system_category()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line /usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [lyx-qt] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: src/dcopIface_skel.o: undefined reference to symbol 'typeinfo for DCOPObject' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'typeinfo for DCOPObject' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [src/abakus] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: sbctester.o: undefined reference to symbol 'sqrt@@GLIBC_2.0' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [sbctester] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: ../celengine/libcelengine.a(glext.o): undefined reference to symbol 'dlopen@@GLIBC_2.1' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line /lib/libdl.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[4]: *** [celestia] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: build/app/mainWindow.o: undefined reference to symbol 'XSync' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'XSync' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [build/app/codeine] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: hubwdgt.o: undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [dc_qt] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: flagStonePort/transform-cxx-bsd/transform/libtransform.a(FSTransform.o): undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [../bin/f4l] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: arts.o: undefined reference to symbol 'Arts::Dispatcher::~Dispatcher()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'Arts::Dispatcher::~Dispatcher()' is defined in DSO /opt/kde3/lib/libmcop.so.1 so try adding it to the linker command line /opt/kde3/lib/libmcop.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [fleur2] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: gui.o: undefined reference to symbol 'operator new(unsigned int)@@GLIBCXX_3.4' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'operator new(unsigned int)@@GLIBCXX_3.4' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [kamix] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: kasablanca.all_cpp.o: undefined reference to symbol 'BIO_new_socket' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'BIO_new_socket' is defined in DSO /lib/libcrypto.so.1.0.0 so try adding it to the linker command line /lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [kasablanca] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: katalogservice/katalogservicedlg.o: undefined reference to symbol 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' is defined in DSO /opt/kde3/lib/libkdeui.so.4 so try adding it to the linker command line /opt/kde3/lib/libkdeui.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [katalogservice/katalogservice] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: CMakeFiles/kbfxconfigapp.dir/kbfxconfigapp.o: undefined reference to symbol 'DCOPRef::DCOPRef(QCString const&, QCString const&)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'DCOPRef::DCOPRef(QCString const&, QCString const&)' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [bin/kbfxconfigapp] Error 1
...and so on and so on. Totally tens of packages broken. I do not know how to fix all this.
it is caused by Christian Rodriguez suggestion to enable --only-copy-dt-needed in the linker. It means that all dependend libraries need to be added. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/28c510cf31d0e67caf01e9b438d7b6a3.jpg?s=120&d=mm&r=g)
On Sun, 28 Aug 2011 13:36:57 +0200 Marcus Meissner <meissner@suse.de> wrote:
On Sat, Aug 27, 2011 at 09:09:57PM +0400, Ilya Chernykh wrote:
On Saturday 27 August 2011 20:52:37 Anders Johansson wrote:
On Saturday 27 August 2011 17:43:36 Sid Boyce wrote:
glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found.
No, it should be
`pkg-config --cflags glib-2.0`
With that, it will work on all distributions. This is precisely the point of pkg-config
Just some errors that appeared this week:
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: main.o: undefined reference to symbol 'boost::system::system_category()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line /usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [lyx-qt] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: src/dcopIface_skel.o: undefined reference to symbol 'typeinfo for DCOPObject' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'typeinfo for DCOPObject' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [src/abakus] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: sbctester.o: undefined reference to symbol 'sqrt@@GLIBC_2.0' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [sbctester] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: ../celengine/libcelengine.a(glext.o): undefined reference to symbol 'dlopen@@GLIBC_2.1' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line /lib/libdl.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[4]: *** [celestia] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: build/app/mainWindow.o: undefined reference to symbol 'XSync' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'XSync' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [build/app/codeine] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: hubwdgt.o: undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [dc_qt] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: flagStonePort/transform-cxx-bsd/transform/libtransform.a(FSTransform.o): undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [../bin/f4l] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: arts.o: undefined reference to symbol 'Arts::Dispatcher::~Dispatcher()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'Arts::Dispatcher::~Dispatcher()' is defined in DSO /opt/kde3/lib/libmcop.so.1 so try adding it to the linker command line /opt/kde3/lib/libmcop.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [fleur2] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: gui.o: undefined reference to symbol 'operator new(unsigned int)@@GLIBCXX_3.4' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'operator new(unsigned int)@@GLIBCXX_3.4' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [kamix] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: kasablanca.all_cpp.o: undefined reference to symbol 'BIO_new_socket' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'BIO_new_socket' is defined in DSO /lib/libcrypto.so.1.0.0 so try adding it to the linker command line /lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [kasablanca] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: katalogservice/katalogservicedlg.o: undefined reference to symbol 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' is defined in DSO /opt/kde3/lib/libkdeui.so.4 so try adding it to the linker command line /opt/kde3/lib/libkdeui.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [katalogservice/katalogservice] Error 1
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: CMakeFiles/kbfxconfigapp.dir/kbfxconfigapp.o: undefined reference to symbol 'DCOPRef::DCOPRef(QCString const&, QCString const&)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'DCOPRef::DCOPRef(QCString const&, QCString const&)' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [bin/kbfxconfigapp] Error 1
...and so on and so on. Totally tens of packages broken. I do not know how to fix all this.
it is caused by Christian Rodriguez suggestion to enable --only-copy-dt-needed in the linker.
It means that all dependend libraries need to be added.
Ciao, Marcus Hi Just noticed this today wonder if it's the cause? http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop up 5 days 10:20, 6 users, load average: 0.34, 0.22, 0.15 GPU GeForce 8600 GTS Silent - Driver Version: 280.13 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/57026391ede7e8b31de2d5abc5f93321.jpg?s=120&d=mm&r=g)
On Monday 29 August 2011 04:34:32 Malcolm wrote:
Just noticed this today wonder if it's the cause? http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
No, looks like something different. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
On 27/08/11 17:52, Anders Johansson wrote:
On Saturday 27 August 2011 17:43:36 Sid Boyce wrote:
glibconfig.h is at /usr/lib64/glib-2.0/include/glibconfig.h so I have had to add "-I/usr/lib64/glib-2.0/include" to the INCLUDES= line for it to be found. No, it should be
`pkg-config --cflags glib-2.0`
With that, it will work on all distributions. This is precisely the point of pkg-config
Anders There is no configure script, just the Makefile and I've tried putting the above at various places and even COMPILE=$(CC) $(INCLUDES) $(pkg-config --cflags glib-2.0) Still no joy. Regards Sid.
-- 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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/8cdb50ba0436e8d2915dc2a436137fda.jpg?s=120&d=mm&r=g)
On Saturday 27 August 2011 21:01:17 Sid Boyce wrote:
There is no configure script, just the Makefile and I've tried putting the above at various places and even COMPILE=$(CC) $(INCLUDES) $(pkg-config --cflags glib-2.0) Still no joy.
I don't think make accepts the $() syntax for executing programs. But it looks like the program you are trying to compile is just ineptly written. Maybe you should send them the docs for either autotools,cmake, or some other sane tool. Hardcoded makefiles was something I had to deal with in the 90s, I'd rather not see them anymore today Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
On 27/08/11 21:14, Anders Johansson wrote:
On Saturday 27 August 2011 21:01:17 Sid Boyce wrote:
There is no configure script, just the Makefile and I've tried putting the above at various places and even COMPILE=$(CC) $(INCLUDES) $(pkg-config --cflags glib-2.0) Still no joy. I don't think make accepts the $() syntax for executing programs.
But it looks like the program you are trying to compile is just ineptly written. Maybe you should send them the docs for either autotools,cmake, or some other sane tool. Hardcoded makefiles was something I had to deal with in the 90s, I'd rather not see them anymore today
Anders OK. At this stage the code is still very experimental, expanding and changing almost daily, concentrating on getting it basically functioning, tidying up is a matter for later when all the pieces are in place.
It's for Software Defined Radio, receive functions are working and coding for transmit being worked on as well as GUI design using Qt, microcode updates possibly to follow and adding codecs so it's early days yet. Regards Sid. -- 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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (6)
-
Anders Johansson
-
Cristian Rodríguez
-
Ilya Chernykh
-
Malcolm
-
Marcus Meissner
-
Sid Boyce