ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

Naveen

Dear all

  I have setup ATS 7.0.0. on Cent OS 7.3

  ./configure --prefix=/opt/ats  --with-tcl=/opt/ActiveTcl-8.6/lib

 

When I Start the Server

[root@prxy trafficserver]# /opt/ats/bin/trafficserver start

Starting Apache Traffic Server:                            [FAILED]

 

In the File traffic_server.stderr   I see Error as below

/opt/ats/bin/traffic_cop: error while loading shared libraries: libtcl8.6.so: cannot open shared object file: No such file or directory

 

[root@prxy trafficserver]# locate libtcl8.6.so

/opt/ActiveTcl-8.6/lib/libtcl8.6.so

 

 

Kindly help

Thanks

Naveen

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

Reindl Harald


Am 19.06.2017 um 17:13 schrieb Norbert Naveen:

>    I have setup ATS 7.0.0. on Cent OS 7.3
>
>    ./configure --prefix=/opt/ats  --with-tcl=/opt/ActiveTcl-8.6/lib
>
> When I Start the Server
>
> [root@prxy trafficserver]# /opt/ats/bin/trafficserver start
>
> Starting Apache Traffic Server:                            [FAILED]
>
> In the File traffic_server.stderr   I see Error as below
>
> /opt/ats/bin/traffic_cop: error while loading shared libraries:
> libtcl8.6.so: cannot open shared object file: No such file or directory
>
> [root@prxy trafficserver]# locate libtcl8.6.so
>
> /opt/ActiveTcl-8.6/lib/libtcl8.6.so

well, your linker surely does not look into /opt/ActiveTcl-8.6/lib/, at
least not by default

/etc/ld.so.conf.d/ is your friend followed by issue "ldconfig" after changes

[root@honeypot:~]$ cat /etc/ld.so.conf.d/mysqlclient16-x86_64.conf
/usr/lib64/mysql
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

Naveen
In reply to this post by Naveen
Hello
 
I already have the files and linker as below
[root@prxy bin]# cd /etc/ld.so.conf.d/

[root@prxy ld.so.conf.d]# ls -ltr
total 28
-rw-r--r--. 1 root root 22 Jun 10  2014 qt-x86_64.conf
-rw-r--r--. 1 root root 19 Mar  6  2015 dyninst-x86_64.conf
-rw-r--r--. 1 root root 17 Nov  5  2016 libiscsi-x86_64.conf
-r--r--r--. 1 root root 63 Nov 22  2016 kernel-3.10.0-514.el7.x86_64.conf
-rw-r--r--. 1 root root 36 Jun 19 20:48 trafficserver-x86_64.conf
-rw-r--r--. 1 root root 17 Jun 20 09:29 mariadb-x86_64.conf
-rw-r--r--. 1 root root 18 Jun 20 09:29 mysqlclient16-x86_64.conf



cat trafficserver-x86_64.conf
/opt/ActiveTcl-8.6/lib/libtcl8.6.so

cat mariadb-x86_64.conf   and  also mysqlclient16-x86_64.conf
/usr/lib64/MySQL


I still get the Error
/opt/ats/bin/traffic_cop: error while loading shared libraries: libtcl8.6.so: cannot open shared object file: No such file or directory

Thankful for any help
Rgds

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

Naveen
I did the following to get it working
cd /lib64
ln -s /opt/ActiveTcl-8.6/lib/libtcl8.6.so libtcl8.6.so

And now ATS is up and Running

Thanks
Naveen
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ATS 7.0.0 on CentOS Starting Error libtcl8.6.so

Reindl Harald
In reply to this post by Naveen


Am 20.06.2017 um 06:07 schrieb Naveen:
> Hello
>  
> I already have the files and linker as below

and *did* you run ldconfig too?
i guess no

> [root@prxy bin]# cd /etc/ld.so.conf.d/
>
> [root@prxy ld.so.conf.d]# ls -ltr
> total 28
> -rw-r--r--. 1 root root 22 Jun 10  2014 qt-x86_64.conf
> -rw-r--r--. 1 root root 19 Mar  6  2015 dyninst-x86_64.conf
> -rw-r--r--. 1 root root 17 Nov  5  2016 libiscsi-x86_64.conf
> -r--r--r--. 1 root root 63 Nov 22  2016 kernel-3.10.0-514.el7.x86_64.conf
> -rw-r--r--. 1 root root 36 Jun 19 20:48 trafficserver-x86_64.conf
> -rw-r--r--. 1 root root 17 Jun 20 09:29 mariadb-x86_64.conf
> -rw-r--r--. 1 root root 18 Jun 20 09:29 mysqlclient16-x86_64.conf
>
> cat trafficserver-x86_64.conf
> /opt/ActiveTcl-8.6/lib/libtcl8.6.so
Loading...