Something has deleted cca 100 libs
I had to reinstall the system, and still did not fully recovered. Did anyone experience a problem with openssl compiled from slackware source, 13.37 ?
Compiled the openssl from slackware source, taken from this repository on Apr,25th: ftp://ftp.slackware.com/pub/slackwar...rce/n/openssl/ Immediately after installing it I could no longer start bunch of programs, all complaining about totally unrelated missing libs. I lost boost libs, zlib, gtk, xaw3d, libxaw, utempter, libX11 and all its related libs, aaa_elflibs, libs from openssl, and many, many other... I could boot the system after that, it would barely run, but hardly anything besides basic gnu programs, elvis, ftp, and slackpkg worked. At first I thought it's my mistake. Probably as root I typed something unintentionally, and although the history did not show anything suspicious, I was still prone to blame myself. I have almost recovered the system. Could run all basic programs and log into X again. Than I compiled and installed the openssl from slackware source one more time, not expecting the same disaster (I blamed myself for not careful typing). But I was wrong. The disaster happened the second time. Immediately upon installation most of my libs were deleted again, for no apparent reason. Why did I try to install the openssl from slackware source ? I needed idea algorithm, but that's not important. In openssl.SlackBuild there are config options: ./config \ --prefix=/usr \ --openssldir=/etc/ssl \ no-idea \ no-rc5 \ no-sse2 \ shared I removed all those no-* and left only --prefix=/usr \ and --openssldir=/etc/ssl. Even than, removing config options shared, no-sse2, no-rc5 and no-idea, is not a reason to delete bunch of other libs. To my eye, the openssl.SlackBuild does not contain anything suspicious, at least not on the first sight. Something seems to be horribly wrong. |
Quote:
|
Quote:
Env variables are all right, in my .bashrc. While system wide - I didn't touch anything, it is Slackware as it comes out of the box. But we install packages as root of course. Many things I have installed from slackware source, and just slightly modified config options to match my preferences, but this is the first time that something bad happened. And it happened twice! with the same slackware source package. Compiling the slackware source package did not do anything bad. Upon compilation things worked. Only after installpkg openssl and openssl-solibs the system was screwed. Today I installed openssl in /usr/local, a generic installation ./config --prefix=/usr/local, make and make install, and that was it, no problems. Therefore, I suspect a bug in one of slackware package files. |
I'd check other applications that you installed before openssl and see if they have modified your environmental variables.
|
Quote:
/etc/profile is still the same one as of the first day of installation, nothing changed in it. Root's directory does not contain any bashrc or profile. I have built the offending package in /tmp as root, and installed as root. Everything works well when I install precompiled openssl packages from Slackware. Everything works well with manually compiled openssl in /usr/local. And everything worked well when used SlackBuild scripts. Why only this build package will remove gamin, among all other things ? Reinstalling packages for missing libs and other missing programs has helped. My $HOME bashrc is still the same as it was months ago. Checked. Although I don't see how those may affect anything since the compilation and the installation was by root, and out of my $HOME. But anyway nothing changed in my .bashrc. So please, can you be a bit more precise, what exactly environmental variables you mean, and where ? And can you explain how those certain environmental variables can cause such a masive deletition. Thank you. |
I tend to agree that the environment has been changed rather than massive file deletions - but will admit we could be wrong.
Just for a sanity check, could you post the manifest of the package that you built - the one that deletes files when it is installed. Maybe that would provide a good clue. Also, we really have very little info on your system other than the version. Could you tell us a little about your partitioning and filesystem structure. Is is split across multiple partitions? Is a partition possibly full? What filesystem are you using? Is it possible the filesystem is corrupted? |
There IS a lot going on in that slackbuild, especially with the library files. I'm not a shell script or .Slackbuild expert but my guess is there might be either a qwirky error in there or an issue/conflict with some environmental variables.
Someone might want to double check that slackbuild. |
Quote:
Quote:
Quote:
|
Quote:
tar -tvzf openssl-package-file.tgz |
I just had a look at the Slackbuild script.
As with any shell script run as root, there are plenty of things that might go wrong if the file was buggared. Could you post here the ACTUAL slackbuild that you are using to build with - NOT a fresh copy or one that is "the same" - the actual one that you used. |
Quote:
I didn't do it. Instead I removed both packages, openssl and openssl-solibs. And I am not touching it any more. |
Quote:
Here it is, and also in a pastebin: http://pastebin.com/edySyYN3 Code:
#!/bin/sh |
You have also removed the 'shared' option from the config.
This will cause it to be built with ONLY static libs, and the previous shared libs will be removed when you uninstall/re-install. That will break every other app that was built with openssl support - and probably result in MANY things not working with "missing library" messages. You need to explicitly add shared and rebuild. Quote:
Code:
config \ Code:
config \ |
Quote:
You were right. Strictly static didn't work. Must have shared. Thanks a bunch pal. |
All times are GMT -5. The time now is 09:10 PM. |