Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why do I get this error when I attempt to install BNR2 into SLED?:
bucky@linux-ws0f:~/Downloads/OnlineCommunicate> sh BNR2beta-0.14.7.run
Verifying archive integrity... All good.
Uncompressing BNR2 Installation Setup................................................................................
./kdesu: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
I can install when in root, but not when in normal user, but I don't want to install as root because then I have to run it as root, which is a bad idea. Why would the install work when in root but not when in normal user mode?
I am still learning, I am really green, I am currently trying to figure out how to use chmod and symlinks, for instance, but the man and info pages don't help enough, I don't understand some of the terminology. Is this a symlink issue or something?
Because you're not running it as root, it's executing its own copy of kdesu (notice the ./). kdesu is apparently linked to libexpat (I confirm this is also true on my system - ldd reports kdesu is linked to libexpat).
To end this error, run it as root with sudo or su or install libexpat. I'd be somewhat suspicious about any program which includes its own copy of kdesu or any su-type utility, though.
Ok, thanks for the really quick responses, guys. Thing is, if I install as root, then the program will only run as root, even if I change the owner of the executable and make it executable by me, the user.
I think I understand symlinks after some further reading, so I am wondering where to link to, do I symlink libexpat.so.0 to ./kde?
This is the error I get when trying to run the program from normal after a root user install:
I GOT IT!!! I went into superuser konqueror mode, and changed the owner to me, the user, I changed the home directory to the program and everything below it, and it works!
There must be some kind of quirk where it won't install right in SLED, whereas it installs just fine in SuSE 10.1, as normal user...
I think I understand symlinks after some further reading, so I am wondering where to link to, do I symlink libexpat.so.0 to ./kde?
That's a different kind of "link". When you compile a program, and that program uses some external library (like libexpat) that program is said to be "linked" to that library. In this case, kdesu is dynamically linked to libexpat: kdesu will not run without libexpat, because some part of kdesu requires funcionality provided by libexpat.
The error involving libexpat can only be solved by installing libexpat.
Quote:
There must be some kind of quirk where it won't install right in SLED, whereas it installs just fine in SuSE 10.1, as normal user...
I'm guessing that the "quirk" is that SLED doesn't have libexpat installed.
Last edited by zhangmaike; 08-23-2006 at 06:06 PM.
No, it IS installed, look above: I got this working by going to the BNR2 folder in ~ and changing the owner and permissions for the entire thing, the entire path down from that folder.
I know libexpat is in, becuase I tried making a symlink where I guessed I needed to, so I have seen the files. It must be something else: My guess is that it could be a 64 bit version issue, because stuff gets stored in a different place...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.