LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-28-2017, 09:17 AM   #1
hasilein
LQ Newbie
 
Registered: Aug 2017
Posts: 3

Rep: Reputation: Disabled
cannot open shared object file Permisson denied


Hello folks,

I got the follow error message
ODBC::Error (01000 (0) [unixODBC][Driver Manager]Can't open lib '/root/db2_cli_odbc_driver/lib/libdb2.so'

On that server I have run
ruby on rails
unixodbc
Cent OS 5.9

What I try is over WEBsite (ROR) -> UnixODBC ->DB2 Driver ->Database
ISQL of unixODBC works fine OK what is here the problem ?
 
Old 08-28-2017, 09:22 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hasilein View Post
Hello folks,

I got the follow error message
ODBC::Error (01000 (0) [unixODBC][Driver Manager]Can't open lib '/root/db2_cli_odbc_driver/lib/libdb2.so'

On that server I have run
ruby on rails
unixodbc
Cent OS 5.9

What I try is over WEBsite (ROR) -> UnixODBC ->DB2 Driver ->Database
ISQL of unixODBC works fine OK what is here the problem ?
Run the following command in a terminal and post the output of it;

Code:
ls -la /root/db2_cli_odbc_driver/lib/*
 
Old 08-28-2017, 09:25 AM   #3
hasilein
LQ Newbie
 
Registered: Aug 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Run the following command in a terminal and post the output of it;

Code:
ls -la /root/db2_cli_odbc_driver/lib/*
drwxr-xr-x 4 apache apache 4096 Jul 4 11:08 .
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 ..
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 C
-r--r--r-- 1 apache apache 3829648 Jul 4 11:08 libgsk8cms_64.so
-r--r--r-- 1 apache apache 389696 Jul 4 11:08 libgsk8dbfl_64.so
-r--r--r-- 1 apache apache 365080 Jul 4 11:08 libgsk8iccs_64.so
-r--r--r-- 1 apache apache 595928 Jul 4 11:08 libgsk8kicc_64.so
-r--r--r-- 1 apache apache 865312 Jul 4 11:08 libgsk8km_64.so
-r--r--r-- 1 apache apache 2731088 Jul 4 11:08 libgsk8ssl_64.so
-r--r--r-- 1 apache apache 6904 Jul 4 11:08 libgsk8sys_64.so
-r--r--r-- 1 apache apache 479552 Jul 4 11:08 libgsk8valn_64.so
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 N
 
Old 08-28-2017, 09:28 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hasilein View Post
drwxr-xr-x 4 apache apache 4096 Jul 4 11:08 .
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 ..
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 C
-r--r--r-- 1 apache apache 3829648 Jul 4 11:08 libgsk8cms_64.so
-r--r--r-- 1 apache apache 389696 Jul 4 11:08 libgsk8dbfl_64.so
-r--r--r-- 1 apache apache 365080 Jul 4 11:08 libgsk8iccs_64.so
-r--r--r-- 1 apache apache 595928 Jul 4 11:08 libgsk8kicc_64.so
-r--r--r-- 1 apache apache 865312 Jul 4 11:08 libgsk8km_64.so
-r--r--r-- 1 apache apache 2731088 Jul 4 11:08 libgsk8ssl_64.so
-r--r--r-- 1 apache apache 6904 Jul 4 11:08 libgsk8sys_64.so
-r--r--r-- 1 apache apache 479552 Jul 4 11:08 libgsk8valn_64.so
drwxr-xr-x 3 apache apache 4096 Jul 4 11:08 N
Don't see the shared lib the error message is referring to there, think you'll have to re-install it.
 
Old 08-28-2017, 09:32 AM   #5
hasilein
LQ Newbie
 
Registered: Aug 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Don't see the shared lib the error message is referring to there, think you'll have to re-install it.
sorry here the right one :-/


lrwxrwxrwx 1 apache apache 19 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2clixml4c.so -> libdb2clixml4c.so.1
-r-xr-xr-x 1 apache apache 30644 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2clixml4c.so.1
lrwxrwxrwx 1 apache apache 12 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2o.so -> libdb2o.so.1
-r-xr-xr-x 1 apache apache 35885715 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2o.so.1
lrwxrwxrwx 1 apache apache 11 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2.so -> libdb2.so.1
-r-xr-xr-x 1 apache apache 35873393 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libdb2.so.1
lrwxrwxrwx 1 apache apache 17 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libDB2xml4c.so -> libDB2xml4c.so.58
lrwxrwxrwx 1 apache apache 19 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libDB2xml4c.so.58 -> libDB2xml4c.so.58.0
-r-xr-xr-x 1 apache apache 5007257 Jul 4 11:08 /root/db2_cli_odbc_driver/lib/libDB2xml4c.so.58.0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-config:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory wenyumei Ubuntu 1 07-20-2016 11:58 AM
Installed SASL with Yum, error on run: Cannot open shared object; Per denied mmem700 Linux - Server 1 02-01-2012 08:41 AM
error while loading shared libraries: libtermcap.so.2: cannot open shared object file astroboy2000ir Linux - Software 3 12-08-2010 12:16 AM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 06:59 PM
cannot open shared object file: Permission denied cchristian Linux - Software 5 07-30-2005 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration