My program is written in C++, using GCC on Ubuntu 9.10 64 bit. If depends on /usr/lib64/libstdc++.so.6 which actually points to /usr/lib64/libstdc++.so.6.0.13. Now I copy this program to virgin Ubuntu 7.04 system and try to run it. It doesn't run, as expected. Then I add to the program directory the following files:
- libstdc++.so.6 (links to libstdc++.so.6.0.13)
Now everything is OK. The question: how can I write installation script for such program? myprogram file itself should be placed to /usr/local/bin. What can I do with dependencies? For example, on destination computer, /usr/lib64/libstdc++.so.6 link points to /usr/lib64/libstdc++.so.6.0.8. What can I do with this?
Note: the program is closed-source, I cannot provide source code and makefile.
Buffering of stream data
1:PHP Segmentation fault when started from crond
libstdc++.so.6.0.13- i guess the package name is any thing like
libstdc++) and dependencies will be installed when you install your own package using
dpkg -i <yourpackage>.deb.. Using Python to add/remove Ubuntu login script items Afterwards, you'll be able to uninstall it using
dpkg -r <yourpackage>.. Microbenchmark showing process-switching faster than thread-switching; what's wrong? Anyway, never ship such standards files with your own archive. C++ build systems [closed]Dependencies exists for this exact purpose.. API to translate group name to group id (gid) Hope it helps..