Mailing List Archive

"Can't open shared library" even though it exists 0_o
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone.

I'm having trouble playing the Quake III demo from Portage. I added my user to
the 'games' group after I installed it, but whenever I try to run it,
this is what I get:

/home/peter $ q3demo
./q3demo.x86: error while loading shared libraries: /lib/libNoVersion.so.1:
cannot open shared object file: No such file or directory

It says that it is not a file on my system, yet it exists:

/home/peter $ ls -al /lib | grep NoVersion
- -rwxr-xr-x 1 root root 5740 Oct 16 12:45 libNoVersion-2.3.4.so
lrwxrwxrwx 1 root root 21 Oct 16 12:47 libNoVersion.so.1 ->
libNoVersion-2.3.4.so

So it's in there and exists, but for some reason it (Q3 Demo) is not finding the
library it needs. When I try to run `ldd /opt/quake3-demo/q3demo.x86`, it gives
me the same error about not being able to load /lib/libNoVersion.so.1.

When I check to see what package the file belongs to, this is what I get:

/root # equery belongs /lib/libNoVersion.so.1
Searching for file '/lib/libNoVersion.so.1' in *...
sys-libs/glibc-2.3.4.20041006 (/lib/libNoVersion.so.1 -> libNoVersion-2.3.4.so)

Would this be a glibc bug? I've built my glibc with only NPTL. Would that harm
it? Here is my glibc info:

/home/peter $ /lib/libc.so.6
GNU C Library 20041006 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5).
Compiled on a Linux 2.6.8 system on 2004-10-16.
Available extensions:
~ GNU libio by Per Bothner
~ crypt add-on version 2.1 by Michael Glad and others
~ Native POSIX Threads Library by Ulrich Drepper et al
~ The C stubs add-on version 2.1.2.
~ BIND-8.2.3-T5B
~ NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
~ Glibc-2.0 compatibility add-on by Cristian Gafton
~ GNU Libidn by Simon Josefsson
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

If you need more information, just ask.
Thank you in advance for any advice you can give me to help resolve this issue.

- --
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
- ---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: admin@ramshacklestudios.com
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
~ E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
Use Mozilla Firefox and help spread the word:
~ http://www.spreadfirefox.com/
- ---------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdfcaII+3MhCdvs4RAnkWAJ99XBzzJj0ca1K9fcZLDawlucjUSgCfSTfG
evKCzMpihVJ1YxztxYXDBQQ=
=x4qh
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: "Can't open shared library" even though it exists 0_o [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone? Perhaps this is a question better answered on the forums....

Peter Gordon wrote:
| Hi everyone.
|
| I'm having trouble playing the Quake III demo from Portage. I added my
| user to
| the 'games' group after I installed it, but whenever I try to run it,
| this is what I get:
|
| /home/peter $ q3demo
| ./q3demo.x86: error while loading shared libraries: /lib/libNoVersion.so.1:
| cannot open shared object file: No such file or directory
|
| It says that it is not a file on my system, yet it exists:
|
| /home/peter $ ls -al /lib | grep NoVersion
| -rwxr-xr-x 1 root root 5740 Oct 16 12:45 libNoVersion-2.3.4.so
| lrwxrwxrwx 1 root root 21 Oct 16 12:47 libNoVersion.so.1 ->
| libNoVersion-2.3.4.so
|
| So it's in there and exists, but for some reason it (Q3 Demo) is not
| finding the
| library it needs. When I try to run `ldd /opt/quake3-demo/q3demo.x86`,
| it gives
| me the same error about not being able to load /lib/libNoVersion.so.1.
|
| When I check to see what package the file belongs to, this is what I get:
|
| /root # equery belongs /lib/libNoVersion.so.1
| Searching for file '/lib/libNoVersion.so.1' in *...
| sys-libs/glibc-2.3.4.20041006 (/lib/libNoVersion.so.1 ->
| libNoVersion-2.3.4.so)
|
| Would this be a glibc bug? I've built my glibc with only NPTL. Would
| that harm
| it? Here is my glibc info:
|
| /home/peter $ /lib/libc.so.6
| GNU C Library 20041006 release version 2.3.4, by Roland McGrath et al.
| Copyright (C) 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.
| There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
| PARTICULAR PURPOSE.
| Compiled by GNU CC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1,
| pie-8.7.6.5).
| Compiled on a Linux 2.6.8 system on 2004-10-16.
| Available extensions:
| ~ GNU libio by Per Bothner
| ~ crypt add-on version 2.1 by Michael Glad and others
| ~ Native POSIX Threads Library by Ulrich Drepper et al
| ~ The C stubs add-on version 2.1.2.
| ~ BIND-8.2.3-T5B
| ~ NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
| ~ Glibc-2.0 compatibility add-on by Cristian Gafton
| ~ GNU Libidn by Simon Josefsson
| Thread-local storage support included.
| For bug reporting instructions, please see:
| <http://www.gnu.org/software/libc/bugs.html>.
|
| If you need more information, just ask.
| Thank you in advance for any advice you can give me to help resolve this
| issue.


- --
gentoo-user@gentoo.org mailing list


- --
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
- ---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: admin@ramshacklestudios.com
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
~ E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
Use Mozilla Firefox and help spread the word:
~ http://www.spreadfirefox.com/
- ---------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdx6III+3MhCdvs4RAlk8AJ9zZQHOMRWrCkkp9MXppV9IJ4sY/QCgzARW
VbblvlBJFhd5+y5FSkUwgrw=
=+fYY
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: "Can't open shared library" even though it exists 0_o [ In reply to ]
Peter Gordon wrote:
> Anyone? Perhaps this is a question better answered on the forums....
>
> Peter Gordon wrote:
> | Hi everyone.
> |
> | I'm having trouble playing the Quake III demo from Portage. I added my
> | user to
> | the 'games' group after I installed it, but whenever I try to run it,
> | this is what I get:
> |
> | /home/peter $ q3demo
> | ./q3demo.x86: error while loading shared libraries:
> /lib/libNoVersion.so.1:
> | cannot open shared object file: No such file or directory
> |
<snip>


Or perhaps it's a question better answered by Bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=67603

--
gentoo-user@gentoo.org mailing list
Re: "Can't open shared library" even though it exists 0_o [ In reply to ]
hmmm, does ldconfig or something like that need to be run for the system
to recognise that library (is that library part of q3demo, or another
package, you don't say?)


On Wed, 20 Oct 2004 19:27:22 -0700
Peter Gordon <admin@ramshacklestudios.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Anyone? Perhaps this is a question better answered on the forums....
>
> Peter Gordon wrote:
> | Hi everyone.
> |
> | I'm having trouble playing the Quake III demo from Portage. I added my
> | user to
> | the 'games' group after I installed it, but whenever I try to run it,
> | this is what I get:
> |
> | /home/peter $ q3demo
> | ./q3demo.x86: error while loading shared libraries: /lib/libNoVersion.so.1:
> | cannot open shared object file: No such file or directory
> |
> | It says that it is not a file on my system, yet it exists:
> |
> | /home/peter $ ls -al /lib | grep NoVersion
> | -rwxr-xr-x 1 root root 5740 Oct 16 12:45 libNoVersion-2.3.4.so
> | lrwxrwxrwx 1 root root 21 Oct 16 12:47 libNoVersion.so.1 ->
> | libNoVersion-2.3.4.so
> |
> | So it's in there and exists, but for some reason it (Q3 Demo) is not
> | finding the
> | library it needs. When I try to run `ldd /opt/quake3-demo/q3demo.x86`,
> | it gives
> | me the same error about not being able to load /lib/libNoVersion.so.1.
> |
> | When I check to see what package the file belongs to, this is what I get:
> |
> | /root # equery belongs /lib/libNoVersion.so.1
> | Searching for file '/lib/libNoVersion.so.1' in *...
> | sys-libs/glibc-2.3.4.20041006 (/lib/libNoVersion.so.1 ->
> | libNoVersion-2.3.4.so)
> |
> | Would this be a glibc bug? I've built my glibc with only NPTL. Would
> | that harm
> | it? Here is my glibc info:
> |
> | /home/peter $ /lib/libc.so.6
> | GNU C Library 20041006 release version 2.3.4, by Roland McGrath et al.
> | Copyright (C) 2004 Free Software Foundation, Inc.
> | This is free software; see the source for copying conditions.
> | There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> | PARTICULAR PURPOSE.
> | Compiled by GNU CC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1,
> | pie-8.7.6.5).
> | Compiled on a Linux 2.6.8 system on 2004-10-16.
> | Available extensions:
> | ~ GNU libio by Per Bothner
> | ~ crypt add-on version 2.1 by Michael Glad and others
> | ~ Native POSIX Threads Library by Ulrich Drepper et al
> | ~ The C stubs add-on version 2.1.2.
> | ~ BIND-8.2.3-T5B
> | ~ NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> | ~ Glibc-2.0 compatibility add-on by Cristian Gafton
> | ~ GNU Libidn by Simon Josefsson
> | Thread-local storage support included.
> | For bug reporting instructions, please see:
> | <http://www.gnu.org/software/libc/bugs.html>.
> |
> | If you need more information, just ask.
> | Thank you in advance for any advice you can give me to help resolve this
> | issue.
>
>
> - --
> gentoo-user@gentoo.org mailing list
>
>
> - --
> () The ASCII Ribbon Campaign - against HTML Email,
> /\ vCards, and proprietary formats.
> - ---------------------------------------------------
> Peter A. Gordon (codergeek42)
> E-Mail: admin@ramshacklestudios.com
> GPG Public Key ID: 0x109DBECE
> GPG Key Fingerprint (SHA1):
> ~ E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
> Encrypted and/or Signed correspondence preffered.
> Use Mozilla Firefox and help spread the word:
> ~ http://www.spreadfirefox.com/
> - ---------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFBdx6III+3MhCdvs4RAlk8AJ9zZQHOMRWrCkkp9MXppV9IJ4sY/QCgzARW
> VbblvlBJFhd5+y5FSkUwgrw=
> =+fYY
> -----END PGP SIGNATURE-----
>
> --
> gentoo-user@gentoo.org mailing list

--
Nick Rout <nick@rout.co.nz>


--
gentoo-user@gentoo.org mailing list
Re: [RESOLVED/BUG REPORT FILED] [gentoo-user] "Can't open shared library" even though it exists 0_o [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Aha! Thanx, Holly.

Holly Bostick wrote:
| Or perhaps it's a question better answered by Bugzilla:
|
| http://bugs.gentoo.org/show_bug.cgi?id=67603
- --
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
- ---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: admin@ramshacklestudios.com
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
~ E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
Use Mozilla Firefox and help spread the word:
~ http://www.spreadfirefox.com/
- ---------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdyl2II+3MhCdvs4RAhInAJ9OtgCeC+LxzGT46xpn0c4hNN0pXQCgsu5I
fvHrisGY0f6zbJNqnOyxe1w=
=98f7
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: Re: [RESOLVED/BUG REPORT FILED] [gentoo-user] "Can't open shared library" even though it exists 0_o [ In reply to ]
On Wednesday 20 October 2004 11:13 pm, Peter Gordon wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Aha! Thanx, Holly.
>
> Holly Bostick wrote:
> | Or perhaps it's a question better answered by Bugzilla:
> |
> | http://bugs.gentoo.org/show_bug.cgi?id=67603
>
>


There's something odd going on here. I've been running QUAKE III ARENA (from
the tin) on a lot of linux boxes with nptl and haven't had an issue like
this one. Maybe the problem lies in the compiled binaries in the demo
package? You were running the demo, right?

Cheers.


--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
11:31pm up 11 days, 6:17, 5 users, load average: 3.04, 3.01, 2.94

--
gentoo-user@gentoo.org mailing list
Re: Re: [BUG REPORT FILED] [gentoo-user] "Can't open shared library" even though it exists 0_o [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yea. I've been trying to get the demo to run (installed via Portage), version
1.11. Are you running this same glibc verson (2.3.4.20041006) with only NPTL? I
know some programs dont like NPTL and will fall back to LinuxThreads when they
can, and that seems to fix it from the bug reports (by forcing it into using
LinuxThreads and thinking it's on a 2.4 kernel). Yet, with the 2.3.4.20041006
ebuild, there is an 'nptlonly' USE flag that can be set to not build this
fallback support for LinuxThreads. I guess that's what I get for running a pure
experimental/~x86/GCC 3.4/2.6 headers etc. system. And since everything
installed from Portage is binaries, I don't think re-emerging would help. I hope
this gets fixed soon.

Jerry McBride wrote:
| There's something odd going on here. I've been running QUAKE III ARENA (from
| the tin) on a lot of linux boxes with nptl and haven't had an issue like
| this one. Maybe the problem lies in the compiled binaries in the demo
| package? You were running the demo, right?

- --
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
- ---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: admin@ramshacklestudios.com
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
~ E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
Use Mozilla Firefox and help spread the word:
~ http://www.spreadfirefox.com/
- ---------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBd0X5II+3MhCdvs4RAkfIAJ99Z6sH2B7BbT1wEhvtH+FqIBXrWwCgsEVk
zNFE0uFmlJK7YSwLdKepwrI=
=C3fi
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: Re: [BUG REPORT FILED] [gentoo-user] "Can't open shared library" even though it exists 0_o [ In reply to ]
On Thursday 21 October 2004 01:15 am, Peter Gordon wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yea. I've been trying to get the demo to run (installed via Portage),
> version 1.11.

My Quake version is 1.32...

> Are you running this same glibc verson (2.3.4.20041006) with
> only NPTL?

I'm running ~x86 boxes with the latest glibc with nptlonly

Cheers.


--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
7:13am up 11 days, 13:59, 5 users, load average: 3.04, 3.01, 2.93

--
gentoo-user@gentoo.org mailing list