473,382 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

dynamical linking problem

I compiled Python on one Linux box and copied it to another Linux box.
This causes an import problem:
import urllib

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/edl3/wb104/analysis/python2.2/lib/python2.2/urllib.py", line
26, in ?
import socket
File "/edl3/wb104/analysis/python2.2/lib/python2.2/socket.py", line
41, in ?
from _socket import *
ImportError: libssl.so.0.9.7: cannot open shared object file: No such
file or directory

On the first Linux box I have:
/usr/lib/libssl.so -> /usr/lib/libssl.so.0.9.7
/usr/lib/libssl.so.0.9.7

On the second Linux box I have:
/usr/lib/libssl.so -> /lib/lib/libssl.o.0.9.7a
/lib/lib/libssl.o.0.9.7a

If I create an extra symbolic link on the second Linux box with name
libssl.so.0.9.7 (and also one for libcrypto, which has a similar
problem) then all is fine.

But the problem is that I want to ship a binary distribution to third
parties who might not be so confident to do this (and might think I've
shipped a duff product).

Why is the Linux linker looking for the specific libssl.so.0.9.7
rather than the generic libssl.so? (Obviously on the first Linux box
the generic is pointing to the specific, but that's hardly a good
excuse.) Is there any (sensible) way to convince it to do otherwise?
This problem makes creating binary distributions difficult. (What are
the odds that people have exactly the same version of every system
library?)
Jul 18 '05 #1
0 966

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sune | last post by:
Hi, I need to replace some dynamical content away from a text, only static thing is that it starts with <!-- Start dynamic --> and ends with <!-- End dynamic -->. How do i dynamical remove these...
0
by: Jacob Kroon | last post by:
Hi, I'm having some problems with implementing dynamical module loading. First let me describe the scenario with an example: modules/ fruit/ __init__.py apple.py banana.py
0
by: paula | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
4
by: FraterQ | last post by:
Hello, after i've read this post, i tried it myself and it works....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.