Board index » kylix » libborqt-6.9-qt2.3.so: cannot open shared object file

libborqt-6.9-qt2.3.so: cannot open shared object file


2004-09-27 12:54:29 AM
kylix2
I copied the liborqt* library and link to the /usr/local/lib directory. I ran ldconfig and
tried to open a Kylix 3 application from a terminal. I got this error message:
libborqt-6.9-qt2.3.so: cannot open shared object file: No such file or directory
I ran the following command from the /usr/local/lib and got this results:
$ ls -l libborqt*
-rwxr-xr-x 1 root root 7526184 Sep 26 10:32 libborqt-6.9.0-qt2.3.so
lrwxrwxrwx 1 root root 23 Sep 26 10:43 libborqt-6.9-qt2.3.so ->libborqt-6.9.0-qt2.3.so
The /usr/local/lib directory is in etc/ld.so.config file. I also have other libraries in
this directory that are found correctly.
Any help would be appreciated.
Corwin
 
 

Re:libborqt-6.9-qt2.3.so: cannot open shared object file

What linux do you use ?
Try:
ldconfig -v /usr/local/lib
Corwin Burgess < XXXX@XXXXX.COM >wrote in message news:< XXXX@XXXXX.COM >...
Quote
I copied the liborqt* library and link to the /usr/local/lib directory. I ran ldconfig and
tried to open a Kylix 3 application from a terminal. I got this error message:

libborqt-6.9-qt2.3.so: cannot open shared object file: No such file or directory

I ran the following command from the /usr/local/lib and got this results:

$ ls -l libborqt*
-rwxr-xr-x 1 root root 7526184 Sep 26 10:32 libborqt-6.9.0-qt2.3.so
lrwxrwxrwx 1 root root 23 Sep 26 10:43 libborqt-6.9-qt2.3.so ->libborqt-6.9.0-qt2.3.so

The /usr/local/lib directory is in etc/ld.so.config file. I also have other libraries in
this directory that are found correctly.

Any help would be appreciated.

Corwin
 

Re:libborqt-6.9-qt2.3.so: cannot open shared object file

Corwin Burgess wrote:
Quote

$ ls -l libborqt*
-rwxr-xr-x 1 root root 7526184 Sep 26 10:32 libborqt-6.9.0-qt2.3.so
lrwxrwxrwx 1 root root 23 Sep 26 10:43 libborqt-6.9-qt2.3.so ->
libborqt-6.9.0-qt2.3.so
Perhaps your users do not have permission to open/read the file.
If the user you are trying to run the application with if in the users
group.
Try the following as the root user.
'chgrp users libborqt-6.9.0-qt2.3.so'
This will give users in the users group access to read the lib file.
This should apply to the ln as well.
siegs
 

{smallsort}

Re:libborqt-6.9-qt2.3.so: cannot open shared object file

/usr/local/bin is not a "trusted" lib directory in linux.
Trusted lib directories are /lib and /usr/lib: .so files are
searched in /lib and /usr/lib (primarily...)
The second file listed in /usr/local/lib (a ym link to the first
one) is unuseful: put it in /usr/lib
(you nedd to be root)
ln -s /usr/local/lib/libborqt-6.9.0-qt2.3.so /usr/lib/libborqt-6.9-qt2.3.so
Your application will fly ...
Corwin Burgess < XXXX@XXXXX.COM >wrote in message news:< XXXX@XXXXX.COM >...
Quote
I copied the liborqt* library and link to the /usr/local/lib directory. I ran ldconfig and
tried to open a Kylix 3 application from a terminal. I got this error message:

libborqt-6.9-qt2.3.so: cannot open shared object file: No such file or directory

I ran the following command from the /usr/local/lib and got this results:

$ ls -l libborqt*
-rwxr-xr-x 1 root root 7526184 Sep 26 10:32 libborqt-6.9.0-qt2.3.so
lrwxrwxrwx 1 root root 23 Sep 26 10:43 libborqt-6.9-qt2.3.so ->libborqt-6.9.0-qt2.3.so

The /usr/local/lib directory is in etc/ld.so.config file. I also have other libraries in
this directory that are found correctly.

Any help would be appreciated.

Corwin