LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Strange files in / (https://www.linuxquestions.org/questions/linux-newbie-8/strange-files-in-227883/)

froedi 09-07-2004 06:08 PM

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?

Franklin 09-07-2004 06:52 PM

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 :rolleyes:

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.

froedi 09-08-2004 06:57 AM

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).

Franklin 09-08-2004 07:26 AM

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

m00t00 09-08-2004 07:31 AM

Nope, they appear to be links to another file in the same location...

froedi 09-08-2004 07:36 AM

all I did (as root) is:

./configure
make
checkinstall

:confused:

froedi 09-12-2004 08:29 AM

seems to be a checkinstall issue - these files don't appear when using make install instead of checkinstall :/

Kroenecker 09-12-2004 11:32 AM

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.


All times are GMT -5. The time now is 09:57 AM.