Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have compiled my program on REDHAT with gcc version 4.1.2-22.
And running my executable on fedora machine which has FEDORA 18 OS with gcc version 4.7.2-8.
When i run the program using GDB i get some warnings:
warning: cannot close "/usr/lib/libcurl.so.4": Invalid operation
warning: cannot close "/usr/lib/libfreebl3.so": Invalid operation
warning: cannot close "/usr/lib/libidn.so.11": Invalid operation
warning: cannot close "/usr/lib/liblber-2.4.so.2": Invalid operation
warning: cannot close "/usr/lib/libldap-2.4.so.2": Invalid operation
warning: cannot close "/usr/lib/libgssapi_krb5.so.2": Invalid operation
Additionally my processes are becoming a defunct process after throwing error :
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-36.fc18.i686 keyutils-libs-1.5.5-3.fc18.i686 krb5-libs-1.10.3-5.fc18.i686 libattr-2.4.46-7.fc18.i686 libcap-2.22-3.fc18.i686 libcom_err-1.42.5-1.fc18.i686 libcurl-7.27.0-4.fc18.i686 libgcc-4.7.2-8.fc18.i686 libidn-1.25-3.fc18.i686 libselinux-2.1.12-7.fc18.i686 libssh2-1.4.2-2.fc18.i686 libstdc++-4.7.2-8.fc18.i686 nspr-4.9.2-1.fc18.i686 nss-3.14-7.fc18.i686 nss-softokn-freebl-3.14-5.fc18.i686 nss-util-3.14-1.fc18.i686 openldap-2.4.33-3.fc18.i686 openssl-libs-1.0.1c-7.fc18.i686 pcre-8.31-2.fc18.i686 zlib-1.2.7-9.fc18.i686
(gdb) c
Continuing.
terminate called after throwing an instance of 'CRA::ConfigError'
Program received signal SIGABRT, Aborted.
0xb7fff424 in ?? ()
Can any open please help me to sortout this problem.
While I don't know much about Fedora or debug environments, a large number of packages seem to be missing on that system, but can be installed using debuginfo-install. Did you follow the suggestion in the error message!
So, why Fedora?
If its just because its free, use Centos instead - its basically free rebuild of RHEL.
The odds of it working are much higher, although make sure you get the same version, inc minor update num...
IOW, if the original was built on RHEL 6.7, get Centos 6.7 not eg Centos 6.6 .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.