LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 31
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:

Code:
# ls
bin/                  libgw-wct.so@             libwx_base_xml-2.6.so@      libwx_gtk2_qa-2.6.so@     spare/
boot/                 libgw-wct.so.0@           libwx_base_xml-2.6.so.0@    libwx_gtk2_qa-2.6.so.0@   sys/
dev/                  libgwrap-glib.so@         libwx_gtk2_adv-2.6.so@      libwx_gtk2_xrc-2.6.so@    tmp/
etc/                  libgwrap-glib.so.1@       libwx_gtk2_adv-2.6.so.0@    libwx_gtk2_xrc-2.6.so.0@  usr/
home/                 libgwrap-wct.so@          libwx_gtk2_core-2.6.so@     lost+found/               var/
lib/                  libgwrap-wct.so.1@        libwx_gtk2_core-2.6.so.0@   mnt/                      wx-config@
libgw-glib.so@        libwx_base-2.6.so@        libwx_gtk2_html-2.6.so@     opt/
libgw-glib.so.0@      libwx_base-2.6.so.0@      libwx_gtk2_html-2.6.so.0@   proc/
libgw-standard.so@    libwx_base_net-2.6.so@    libwx_gtk2_media-2.6.so@    root/
libgw-standard.so.0@  libwx_base_net-2.6.so.0@  libwx_gtk2_media-2.6.so.0@  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
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:12 PM.

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