LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2004, 06:08 PM   #1
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Rep: Reputation: 15
Question Strange files in /


hi!

I noticed that after having installed some software, there are some strange files located in my root directory.

Code:
drwxr-xr-x  17 root root 4.0K 2004-09-08 01:01 ./
drwxr-xr-x  17 root root 4.0K 2004-09-08 01:01 ../
drwxr-xr-x   2 root bin  4.0K 2004-08-28 15:22 bin/
drwxr-xr-x   2 root root 4.0K 2004-09-05 16:08 boot/
drwxr-xr-x  13 root root    0 2004-09-07 22:34 dev/
drwxr-xr-x  24 root root 4.0K 2004-09-07 23:20 etc/
-rw-r--r--   1 root root    0 2004-09-08 01:01 gnarr
drwxr-xr-x   3 root root 4.0K 2004-09-02 20:44 home/
drwxr-xr-x   4 root root 4.0K 2004-09-04 18:17 lib/
lrwxr-xr-x   1 root root   20 2004-09-07 17:24 libasprintf.so -> libasprintf.so.0.0.0
lrwxr-xr-x   1 root root   20 2004-09-07 17:24 libasprintf.so.0 -> libasprintf.so.0.0.0
lrwxr-xr-x   1 root root   21 2004-09-07 17:24 libgettextlib.so -> libgettextlib-0.13.so
lrwxr-xr-x   1 root root   21 2004-09-07 17:24 libgettextpo.so -> libgettextpo.so.0.1.0
lrwxr-xr-x   1 root root   21 2004-09-07 17:24 libgettextpo.so.0 -> libgettextpo.so.0.1.0
lrwxr-xr-x   1 root root   21 2004-09-07 17:24 libgettextsrc.so -> libgettextsrc-0.13.so
drwx------   2 root root  16K 2004-08-26 18:09 lost+found/
drwxr-xr-x   8 root root 4.0K 2004-09-05 19:28 mnt/
dr-xr-xr-x  59 root root    0 2004-09-08 00:33 proc/
drwx--x---   4 root root 4.0K 2004-09-07 13:55 root/
drwxr-xr-x   2 root bin  4.0K 2004-08-28 15:06 sbin/
drwxr-xr-x   9 root root    0 2004-09-08 00:33 sys/
drwxrwxrwt   4 root root 4.0K 2004-09-08 00:53 tmp/
drwxr-xr-x  17 root root 4.0K 2004-09-07 17:25 usr/
drwxr-xr-x  11 root root 4.0K 1999-07-31 06:25 var/
this is after I installed gettext.

I have no idea where they come from :/
at least they aren't listed as being installed by the install routine.

but it seems like it's always files called lib* (if that's of any importance)

does anybody know what's going on here?
 
Old 09-07-2004, 06:52 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
These are symlinks to shared libraries that (maybe) should be in /usr/lib. When you install software from source (as opposed to .tgz slackpacks) you should always (I believe) use --prefix=/usr option with slackware. At least thats what I do (after reading ./configure --help of course)

./configure --prefix=/usr (plus whatever options you find in the help file)
make
make install

Watch spelling. I once wound up with freetype in my /user directory

steve@peggy-o:~$ locate libasprintf.so
/usr/lib/libasprintf.so
/usr/lib/libasprintf.so.0
/usr/lib/libasprintf.so.0.0.0

Just making sure.
 
Old 09-08-2004, 06:57 AM   #3
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
thanks.
hmm, I'll try that next time I install something ;>

I just wondered because I don't have that kind of problem with slack 9.1 (on my other pc).
 
Old 09-08-2004, 07:26 AM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Perhaps a typo during the install process? I take it these symlinks were not in this location when you installed on 9.1. Hard for me to know what you did.

Since they are only links, perhaps you can manually recreate them in their proper home and delete these if everything works properly.

Just a thot
 
Old 09-08-2004, 07:31 AM   #5
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
Nope, they appear to be links to another file in the same location...
 
Old 09-08-2004, 07:36 AM   #6
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
all I did (as root) is:

./configure
make
checkinstall

 
Old 09-12-2004, 08:29 AM   #7
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
seems to be a checkinstall issue - these files don't appear when using make install instead of checkinstall :/
 
Old 09-12-2004, 11:32 AM   #8
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
I dont know what the solution is myself, but I thought I would let you know that I had the same problems when trying to use checkinstall. I use LFS as my gnu/linux system and I really wanted to use a package manager so I tried using slacks system, but I ended up with symlinks at the base of the filesystem just as you have. I never figured it out though. If I ever get back to it and try to figure it out, will let you know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange files in temp dir stefaandk Linux - General 4 11-24-2005 04:24 PM
A strange problem with files in FC4 manuworldgame Linux - General 4 07-18-2005 01:11 AM
strange samba stuff, odd files Wordan Linux - Networking 1 11-15-2004 06:41 PM
problem of ls with strange files jeson_515 Linux - Newbie 1 03-14-2004 07:40 AM
hd-problem files lost, strange e2fsck message inge_ninge Linux - Newbie 3 01-26-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration