Find the answer to your Linux question:
Results 1 to 3 of 3
Thank you for your viewing. I got source of GNOME2 IP Messenger by T.Kato (2008/10/27) on the web page "ipmsg.org/index.html.en". When making, something occured as below: Code: [root test g2ipmsg-0.9.6]# ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Location
    The city of Beijing
    Posts
    12

    incompatible /usr/lib64/libgnomeui-2.so when searching for -lgnomeui-2


    Thank you for your viewing.
    I got source of GNOME2 IP Messenger by T.Kato (2008/10/27) on the web page "ipmsg.org/index.html.en". When making, something occured as below:
    Code:
    [root test g2ipmsg-0.9.6]# make
    make  all-recursive
    make[1]: Entering directory `/home/peter/opt/ipmsg/g2ipmsg-0.9.6'
    Making all in src
    make[2]: Entering directory `/home/peter/opt/ipmsg/g2ipmsg-0.9.6/src'
    gcc  -m32  -m32 -o g2ipmsg ipmsg.o support.o interface.o callbacks.o hostinfo.o msginfo.o udp.o message.o userdb.o protocol.o codeset.o recvmsg.o logfile.o menu.o fileattach.o tcp.o sound.o netcommon.o fuzai.o uicommon.o systray.o downloads.o dialog.o util.o  dbusif.o screensaver.o main.o -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgconf-2 -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L/lib64 -ldbus-glib-1 -ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0   -pthread -lpanel-applet-2 -lgconf-2 -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0   -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0      
    /usr/bin/ld: skipping incompatible /usr/lib64/libgnomeui-2.so when searching for -lgnomeui-2
    /usr/bin/ld: cannot find -lgnomeui-2
    collect2: ld 返回 1
    make[2]: *** [g2ipmsg] 错误 1
    make[2]: Leaving directory `/home/peter/opt/ipmsg/g2ipmsg-0.9.6/src'
    make[1]: *** [all-recursive] 错误 1
    make[1]: Leaving directory `/home/peter/opt/ipmsg/g2ipmsg-0.9.6'
    make: *** [all] 错误 2
    [root test g2ipmsg-0.9.6]#
    I guess the key part of above may be this:
    Code:
    /usr/bin/ld: skipping incompatible /usr/lib64/libgnomeui-2.so when searching for -lgnomeui-2
    /usr/bin/ld: cannot find -lgnomeui-2
    I guess the reason is that this program is 32bit based and my machine is 64bit. But I am not very clear about the compiling and linking. So please help me. Thanks!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    You need to install the 32-bit version of libgnomeui-2, or remove the -m32 CFLAG argument from the Makefile so it is built for 64-bit operation. A 64-bit system CAN build/run 32-bit applications, but that means you need to be sure that all 32-bit dependencies are available. FWIW, 32-bit libraries are usually found in /usr/lib, and 64-bit ones in /usr/lib64, and on 64-bit systems the libraries are usually searched for in /usr/lib64, so you may need to add "-L /usr/lib" to the LFLAGS variable in the Makefile.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    May 2013
    Location
    The city of Beijing
    Posts
    12
    Thank you very much for your advice, Rubberman.
    I followed your instructions but the error remains:
    Code:
    /usr/bin/ld: skipping incompatible /usr/lib64/libgnomeui-2.so when searching for -lgnomeui-2
    /usr/bin/ld: cannot find -lgnomeui-2
    I then discovered this:
    Code:
    [root test g2ipmsg-0.9.6]# ll /usr/lib/libgnomeui-2.so*
    lrwxrwxrwx. 1 root root     24 6月  20 18:51 /usr/lib/libgnomeui-2.so.0 -> libgnomeui-2.so.0.2400.1
    -rwxr-xr-x. 1 root root 626676 11月 12 2010 /usr/lib/libgnomeui-2.so.0.2400.1
    [root test g2ipmsg-0.9.6]# ll /usr/lib64/libgnomeui-2.so*
    lrwxrwxrwx. 1 root root     24 11月 25 2012 /usr/lib64/libgnomeui-2.so -> libgnomeui-2.so.0.2400.1
    lrwxrwxrwx. 1 root root     24 11月 25 2012 /usr/lib64/libgnomeui-2.so.0 -> libgnomeui-2.so.0.2400.1
    -rwxr-xr-x. 1 root root 650600 11月 12 2010 /usr/lib64/libgnomeui-2.so.0.2400.1
    Then I did this:
    Code:
    [root test g2ipmsg-0.9.6]# cd /usr/lib
    [root test lib]# ln -s libgnomeui-2.so.0.2400.1 libgnomeui-2.so
    [root test lib]# ll libgnomeui*
    lrwxrwxrwx. 1 root root     24 6月  23 12:09 libgnomeui-2.so -> libgnomeui-2.so.0.2400.1
    lrwxrwxrwx. 1 root root     24 6月  20 18:51 libgnomeui-2.so.0 -> libgnomeui-2.so.0.2400.1
    -rwxr-xr-x. 1 root root 626676 11月 12 2010 libgnomeui-2.so.0.2400.1
    Then the error about lgnomeui-2 disappeared. A new error appeared:
    Code:
    /usr/bin/ld: skipping incompatible /usr/lib64/libbonoboui-2.so when searching for -lbonoboui-2
    /usr/bin/ld: cannot find -lbonoboui-2
    Then I also add a soft link of libbonoboui-2 as I formerly did.
    Then the error about lbonoboui-2 disappeared. A new error appeared:
    Code:
    /usr/bin/ld: skipping incompatible /usr/lib64/libgnomevfs-2.so when searching for -lgnomevfs-2
    /usr/bin/ld: cannot find -lgnomevfs-2
    I then iterate these steps for tens of times.
    Then the make is over.
    I doubt that my way is not so right and I wonder how to simplify these?

    And the result is bad, when the program is running, errors occurs as below:
    Code:
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    
    (g2ipmsg:14366): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
    Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录
    Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录
    
    (g2ipmsg:14366): GnomeUI-WARNING **: While connecting to session manager:
    None of the authentication protocols specified are supported.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •