Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-13-2005, 06:07 PM   #1
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 30
checkinstall making symlinks in root??

I've started using checkinstall when compiling from source, and I like it lots, but I've noticed something odd. Checkinstall seems to leave dead symlinks in root ( / ) to libraries associated with the programs I'm installing. For example, after I installed some Python wxWidgets library and g-wrap, my root looked like this:

# ls
bin/                spare/
boot/           sys/
dev/            tmp/
etc/          usr/
home/            lost+found/               var/
lib/           mnt/                      wx-config@     opt/   proc/    root/  sbin/
Sorry I didn't get an ls -l, I deleted them before I remembered that I wanted to ask about them. I scrolled up for this listing. Anyhow, those .so@ are all dead symlinks (they point to stuff that no longer exists), with the exception of wx-config which was pointing to something valid, which I could see from the color coding on the terminal. This has happened before with all kinds of packages. And since one doesn't often do an ls in root it can be easy to miss. Has this happened to anyone else? I can't find anything in the docs that would describe this as a feature and I don't think it's a misconfiguration. I am using a stock checkinstallrc and installing packages in the default location, which is usually /usr/local.

Anybody have any thoughts, or similar stuff going on in their root?
Old 06-13-2005, 08:56 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
It happens a lot, it's a problem with checkinstall reading wrong things, I usually just correct it by hand.
After you make the package try reading the generated install script that will make those symlinks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Broken symlinks in '/' dir after compile and checkinstall Haiyadragon Slackware 3 02-08-2005 10:55 AM
making sh script have root permmission demmylls Linux - General 10 08-21-2004 12:22 AM
making links for non root???? Zieroth Fedora 1 07-21-2004 04:06 PM
Symlinking and Samba, following symlinks to local root rather that servers! cyberFISH Linux - Networking 1 07-02-2004 05:25 PM
Need help making and removing symlinks tigerflag Linux - Hardware 1 04-09-2003 08:23 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:57 PM.

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