Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-18-2009, 05:48 AM
|
#1
|
|
Member
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90
Rep:
|
Strange problem: /usr/lib64/ - Not a Directory
Hello there. I've been experimenting with Arch Linux in VirtualBox to test out this pretty useful software. Whilst trying to get 3d acceleration working I checked for the existence of /usr/lib64/VBoxOGL.so and, to my astonishment, lib64 is there, but it's "Not a directory".
Has anyone ever come across something like this? I'm not sure when exactly this happened or whether its always been a file. Ever heard of a directory turning into a file?
Getting it fixed isn't too important since it's practically a fresh install, but I think it's important to find out why this has happened...
|
|
|
|
07-18-2009, 06:23 AM
|
#2
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,674
|
Quote:
Originally Posted by mmatt
to my astonishment, lib64 is there, but it's "Not a directory".
|
In Debian based systems /lib64 and /usr/lib64 are symbolic links, not actual directories. I don't know about Arch Linux
Quote:
|
whether its always been a file. Ever heard of a directory turning into a file?
|
Is it really a file, not a link?
Try
When I do that, the output is
Code:
/usr/lib64: symbolic link to `lib'
Last edited by johnsfine; 07-18-2009 at 06:24 AM.
|
|
|
|
07-18-2009, 06:29 AM
|
#3
|
|
Member
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90
Original Poster
Rep:
|
Ok, here's the file result...
Code:
$ file /usr/lib64
/usr/lib64: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
But I have no idea what that means...
|
|
|
|
07-18-2009, 06:51 AM
|
#4
|
|
Senior Member
Registered: Dec 2007
Distribution: Mepis, Centos
Posts: 4,674
|
I guess that means some manual action or script tried to copy a .so file into /usr/lib64 but /usr/lib64 didn't exist, so it copied that .so to rather than into /usr/lib64
I don't know whether Arch Linux is supposed to have a /usr/lib64. Do you know whether Arch Linux is "multi lib"? Also, your whole question assumes you are using a 64 bit build of Arch Linux. If it were 32 bit, then it isn't multi lib and /usr/lib64 shouldn't exist. Please confirm that you are talking about a 64 bit build of Arch Linux.
|
|
|
|
07-18-2009, 07:15 AM
|
#5
|
|
Member
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90
Original Poster
Rep:
|
Yes, it's a 64 bit arch kernel on a 64-bit VM with a 64-bit Host. I suspect perhaps the Guest Additions may be at fault here, attempting to install into lib64. I'm just installing a fresh Arch64 onto another disk and will have a look at lib64 there...
As for multilib, I haven't installed 32-bit libraries, though I know some people do in Arch. I don't know where these end up though.
Last edited by mmatt; 07-18-2009 at 07:33 AM.
|
|
|
|
07-18-2009, 08:48 AM
|
#6
|
|
Member
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90
Original Poster
Rep:
|
Right, on a fresh install, /usr/lib64 does not exist, despite being a 64-bit system. What should I do about this to ensure that installers (e.g. vbox guest additions) are able to put things in the right place? Thanks for your help.
|
|
|
|
07-18-2009, 09:02 AM
|
#7
|
|
Member
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90
Original Poster
Rep:
|
Ok, so I fixed the problem for VBox GA by symlinking /usr/lib64 to /usr/lib as you said debian did and this fixed the problem in this instance. No need to continue that fresh installation, thanks a lot!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|