Nekoware #1

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
directedition
Posts: 515
Joined: Mon Feb 03, 2003 5:20 pm
Location: Pasadena, MD
Contact:

Unread postby directedition » Thu Feb 26, 2004 11:57 pm

I get the same errors. Even when I compiled glib myself they still remain...
- Jim
:Indigo: :Indigo: :Indy: :Indy: <- signed by The Screensavers :) :Indigo2IMP: (230L) (230L) :540: :1600SW: :1600SW: <- touchscreen :PI: :Octane2:

fix
Posts: 20
Joined: Fri Feb 06, 2004 3:10 am
Location: Germany

Unread postby fix » Fri Feb 27, 2004 12:24 am

s0ke wrote:
fix wrote:
Dubhthach wrote:I'm getting this error when i try to load any of the programs (abiword, gimp, gaim)

bash-2.05b$ abiword
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcpy
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcat
1364:abiword: rld: Fatal Error: this executable has unresolvable symbols


I think i remember installing glib off freeware before, could that be the source of the issue?


Same here. I checked the C-runtime library in 6.5.20m, there are none of the above symbols. After recompiling glib myself the problem vanished. Gimp runs like a charm, many thanks to you guys!


I am also getting this same message when trying to run abiword, gimp or any of the other applications. I've checked my library paths and they are correct. Did you just grab the glib source from its webiste?


I used the glib source that came with the tardist. Compiled the lib with MIPSPro and replaced the shared object in /usr/local/lib. I noticed, that the configute script checks the system for having strlcpy and strlcat, but on my installation of IRIX 6.5.20m, it didn't find those symbols which is correct.

User avatar
squeen
Moderator
Moderator
Posts: 2933
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Fri Feb 27, 2004 3:27 am

fix wrote:
Dubhthach wrote:I'm getting this error when i try to load any of the programs (abiword, gimp, gaim)
bash-2.05b$ abiword
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcpy
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcat
1364:abiword: rld: Fatal Error: this executable has unresolvable symbols



Same here. I checked the C-runtime library in 6.5.20m, there are none of the above symbols. After recompiling glib myself the problem vanished. Gimp runs like a charm, many thanks to you guys!


It seems like a significant minority(?) is getting this error. I am correct in saying that at least some can run abiword without getting this <looking for a show of hands>. I am curious as to what might be the common denometer.(OS version?). Either way, I thought it might have been a mistake to use glib 2.3.2, instead of the 2.2.x stable branch. Perhaps that is a solution.

BTW fix, exactly how does one "check the C-runtime library"?

Sorry for the trouble folks. Hopefully we can get it straightened out.

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Fri Feb 27, 2004 3:42 am

squeen wrote:BTW fix, exactly how does one "check the C-runtime library"?


Code: Select all

nm /lib32/libc.so | grep $symbol; if [[ "$?" == "0" ]] ; then echo CHECK else echo BUGGER fi


Or just the part before the semicolon and see if you get any result ;)
Shall I describe it to you? Or do you want me to get you a box?

fix
Posts: 20
Joined: Fri Feb 06, 2004 3:10 am
Location: Germany

Unread postby fix » Fri Feb 27, 2004 3:46 am

squeen wrote:
fix wrote:
Dubhthach wrote:I'm getting this error when i try to load any of the programs (abiword, gimp, gaim)
bash-2.05b$ abiword
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcpy
1364:abiword: rld: Error: unresolvable symbol in /usr/local/lib/libglib-2.0.so.1: strlcat
1364:abiword: rld: Fatal Error: this executable has unresolvable symbols



Same here. I checked the C-runtime library in 6.5.20m, there are none of the above symbols. After recompiling glib myself the problem vanished. Gimp runs like a charm, many thanks to you guys!


It seems like a significant minority(?) is getting this error. I am correct in saying that at least some can run abiword without getting this <looking for a show of hands>. I am curious as to what might be the common denometer.(OS version?). Either way, I thought it might have been a mistake to use glib 2.3.2, instead of the 2.2.x stable branch. Perhaps that is a solution.

BTW fix, exactly how does one "check the C-runtime library"?

Sorry for the trouble folks. Hopefully we can get it straightened out.


nm -g /lib/libc.so.1 | grep strlcpy should produce output if strlcpy is defined within libc. Maybe it's defined in your libc or in another library that is loaded when you start Gimp... (You could check all libs that ldd /usr/local/bin/gimp-1.3 spits out)

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Fri Feb 27, 2004 3:57 am

(sorry, don't mean to harrass anyone, but are all those quite anoying massive quote blocks realy needed all the time)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
squeen
Moderator
Moderator
Posts: 2933
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Fri Feb 27, 2004 4:26 am

whiter wrote:
whiter wrote:
whiter wrote:
whiter wrote:(sorry, don't mean to harrass anyone, but are all those quite anoying massive quote blocks realy needed all the time)
:D

Thanks to both fix and whiter for the lesson.

EDIT
A bit more seriously (the less sleep I get, the funnier I think I am :silly: ) here's my output

Code: Select all

nm -g /lib/libc.so.1 | grep strlcpy
[12060] |   262362032|            |Proc    |ref=7414          |Text     | _strlcpy
[12061] |   262362032|            |Proc    |ref=7414          |Text     | strlcpy

and

Code: Select all

ldd gimp-1.3
        libgimpcolor-1.3.so.25  =>       /usr/local/lib/libgimpcolor-1.3.so.25 
        libgimpmath-1.3.so.25  =>        /usr/local/lib/libgimpmath-1.3.so.25   
        libgimpbase-1.3.so.25  =>        /usr/local/lib/libgimpbase-1.3.so.25   
        libgimpmodule-1.3.so.25  =>      /usr/local/lib/libgimpmodule-1.3.so.25
        libgimpthumb-1.3.so.25  =>       /usr/local/lib/libgimpthumb-1.3.so.25 
        libgimpwidgets-1.3.so.25  =>     /usr/local/lib/libgimpwidgets-1.3.so.25       
        libgtk-x11-2.0.so.1  =>  /usr/local/lib/libgtk-x11-2.0.so.1     
        libgdk-x11-2.0.so.1  =>  /usr/local/lib/libgdk-x11-2.0.so.1     
        libatk-1.0.so.1  =>      /usr/local/lib/libatk-1.0.so.1
        libgdk_pixbuf-2.0.so.1  =>       /usr/local/lib/libgdk_pixbuf-2.0.so.1 
        libpangoxft-1.0.so.1  =>         /usr/local/lib/libpangoxft-1.0.so.1   
        libpangox-1.0.so.1  =>   /usr/local/lib/libpangox-1.0.so.1     
        libart_lgpl_2.so.3  =>   /usr/local/lib/libart_lgpl_2.so.3     
        libm.so  =>      /usr/lib32/libm.so     
        libpangoft2-1.0.so.1  =>         /usr/local/lib/libpangoft2-1.0.so.1   
        libpango-1.0.so.1  =>    /usr/local/lib/libpango-1.0.so.1       
        libgobject-2.0.so.1  =>  /usr/local/lib/libgobject-2.0.so.1     
        libgmodule-2.0.so.1  =>  /usr/local/lib/libgmodule-2.0.so.1     
        libglib-2.0.so.1  =>     /usr/local/lib/libglib-2.0.so.1       
        libfontconfig.so.2  =>   /usr/local/lib/libfontconfig.so.2     
        libexpat.so.1  =>        /usr/local/lib/libexpat.so.1   
        libfreetype.so.7  =>     /usr/local/lib/libfreetype.so.7       
        libz.so.1.2.1  =>        /usr/local/lib/libz.so.1.2.1   
        libintl.so.3  =>         /usr/local/lib/libintl.so.3   
        libiconv.so.3  =>        /usr/local/lib/libiconv.so.3   
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libX11.so.1  =>  /usr/lib32/libX11.so.1
        libXext.so  =>   /usr/lib32/libXext.so 
        libXft.so.2  =>  /usr/local/lib/libXft.so.2     
        libXrender.so.1  =>      /usr/local/lib/libXrender.so.1


EDIT AGAIN
I'm running 6.5.21f

cstar
Posts: 20
Joined: Tue Jan 13, 2004 8:03 pm
Location: Paris, France

Unread postby cstar » Fri Feb 27, 2004 6:02 am

I am running 6.5.20m and am hit by this very issue. libc on this version does not have strlcpy.
recompiling glibc on the system should indeed work, as glibc emulate strlcpy (if it's not provided) for creating g_strlcpy .
It's told here[/url]

User avatar
squeen
Moderator
Moderator
Posts: 2933
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Fri Feb 27, 2004 6:29 am

Fantastic -- thanks for making that clear. This is exactly the type of issue resolution through collective feedback I was hoping for. I will look into building an updated release that explictly uses the builtin functions. (trick out config?)

Funny that should be an update in 6.5.21??

User avatar
s0ke
Donor
Donor
Posts: 192
Joined: Mon Feb 24, 2003 8:27 am
Location: TX

Unread postby s0ke » Fri Feb 27, 2004 7:07 am

cstar wrote:I am running 6.5.20m and am hit by this very issue. libc on this version does not have strlcpy.
recompiling glibc on the system should indeed work, as glibc emulate strlcpy (if it's not provided) for creating g_strlcpy .
It's told here[/url]


I'm currently running 6.5.19m

directedition
Posts: 515
Joined: Mon Feb 03, 2003 5:20 pm
Location: Pasadena, MD
Contact:

Unread postby directedition » Fri Feb 27, 2004 9:27 am

I'm running 6.5(.0?) and get the error.
- Jim
:Indigo: :Indigo: :Indy: :Indy: <- signed by The Screensavers :) :Indigo2IMP: (230L) (230L) :540: :1600SW: :1600SW: <- touchscreen :PI: :Octane2:

rmigfr
Posts: 18
Joined: Sun Feb 08, 2004 11:59 am

Unread postby rmigfr » Sat Feb 28, 2004 8:30 am

Hello, your work is wonderful, congratulations.

And everything is working fine for me, except... Gaim I have no protocols listed when I want to create a new acccount... I am running Irix 6.5.22m.

Before I used the gaim 0.74 tardist found on Nekochan.net.

If you need more precisions, just ask...

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Sat Feb 28, 2004 2:03 pm

rmigfr wrote:Hello, your work is wonderful, congratulations.

And everything is working fine for me, except... Gaim I have no protocols listed when I want to create a new acccount... I am running Irix 6.5.22m.

Before I used the gaim 0.74 tardist found on Nekochan.net.

If you need more precisions, just ask...



Yep, the gaim 0.75 tardist is missing several files, a patch will be ready tomarow ('m working on it even as I type). :)
configure complete, now type 'make' and pray.

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Sat Feb 28, 2004 2:40 pm

There is an error in the abiword package:

Code: Select all

neko_abiword.opt.relnotes cannot be installed because of missing
prerequisites:
  1a. Do not install neko_abiword.opt.relnotes (1)
  1b. Also install neko_aspell.sw.lib (1), neko_enchant.sw.lib (1),
      neko_fontconfig.sw.lib (1), neko_fribidi.sw.lib (1), neko_gtk.sw.lib
      (1), neko_gucharmap.sw.lib (1), neko_imagemagick.sw.lib (1),
      neko_libglade.sw.lib (1), neko_libiconv.sw.lib (2),
      neko_libxml2.sw.lib (1), neko_readline.sw.lib (1), neko_wv.sw.lib (1)
      and neko_xft.sw.lib (1).


It seems to me there is a dependency set where it shouldn't be
Shall I describe it to you? Or do you want me to get you a box?

uncle_frankie
Posts: 9
Joined: Thu Feb 26, 2004 4:01 am
Location: London

Unread postby uncle_frankie » Sat Feb 28, 2004 3:18 pm

Hi there

Everything installs without errors but refuses to run on my O2 running Irix
6.5 051900004 IP32

Getting errors along the lines of

Abiword : rld: Error: unrelsovable symbols in /usr/local/lib etc

I tried the setenv LD_LIBRARY etc - no luck

hope this helps someone solve the problems

have to go and nurse my hangover , bye

:D


Return to “SGI: Development”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests