getting Missing Dependency: libmysqlclient_r.so.15()(64bit) on cpanel centos

226 views
Skip to first unread message

keshav vats

unread,
Apr 9, 2014, 9:52:40 AM4/9/14
to erpnext-dev...@googlegroups.com
I am trying to install erpnext on c-panel via ssh but I am getting a dependency error  (Error: Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)) .

I have also googled it. After reviewing many post I got a post on google group that says i have to install mysql-devel . But when i tryed to install it i found that it is already installed.

The below is the text from my terminal

python2.7 install_erpnext.pyOperating System = Linux
Python Version = 2.7.3
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
gcc MySQL-python git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------
Error: Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Error: Missing Dependency: libmysqlclient_r.so.15()(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Traceback (most recent call last):
  File "install_erpnext.py", line 291, in <module>
    install_pre_requisites()
  File "install_erpnext.py", line 47, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 90, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 247, in exec_in_shell
    out = subprocess.check_output(cmd, shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'yum install -y gcc MySQL-python git memcached ntp vim-enhanced screen' returned non-zero exit status 1

Pratik Vyas

unread,
Apr 9, 2014, 10:17:06 AM4/9/14
to erpnext-dev...@googlegroups.com
Hey Keshav
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/42f31d08-fdcb-4ef9-81da-c88dd8c6bd99%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Never saw this before.

can you try on CentOS/cPanel forums?
eg, https://forums.cpanel.net/f5/mysql-python-centos-release-5-8-a-272031.html

It would be better if you try on vanilla CentOS. No advantage of
installing cPanel if all you are going to use is erpnext.

Thanks,
--
Pratik
erpnext

keshav vats

unread,
Apr 10, 2014, 1:13:33 AM4/10/14
to erpnext-dev...@googlegroups.com
Thanks that error has been resolved now an another conflict ion error is occurred

The below is my terminal code
root@web [~]# python2.7 install_erpnext.py

Operating System = Linux
Python Version = 2.7.3
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
gcc MySQL-python git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------
Error: mysql conflicts with MySQL51-server

Traceback (most recent call last):
  File "install_erpnext.py", line 291, in <module>
    install_pre_requisites()
  File "install_erpnext.py", line 47, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 90, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 247, in exec_in_shell
    out = subprocess.check_output(cmd, shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'yum install -y gcc MySQL-python git memcached ntp vim-enhanced screen' returned non-zero exit status 1
root@web [~]#

Pratik Vyas

unread,
Apr 10, 2014, 1:54:24 AM4/10/14
to erpnext-dev...@googlegroups.com
Hi Keshav,
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/54f57f67-0134-433a-accd-0e99e8bad5c1%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.


You can edit the install_erpnext.py file and remove mysql from
MySQL-Python if you have installed it manually. Again, I do not know
how much more will cPanel will come in the way.

Thanks,
--
Pratik
erpnext

Pratik Vyas

unread,
Apr 10, 2014, 1:58:25 AM4/10/14
to erpnext-dev...@googlegroups.com
>
> You can edit the install_erpnext.py file and remove mysql from
> MySQL-Python if you have installed it manually. Again, I do not know
> how much more will cPanel will come in the way.
>

Sorry, I mean edit install_erpnext.py and remove MySQL-Python from
install requirements (line#84).

> Thanks,
> --
> Pratik
> erpnext



--
Pratik
erpnext

keshav vats

unread,
Apr 10, 2014, 6:05:15 AM4/10/14
to erpnext-dev...@googlegroups.com
Thanks for your assistance . I have done it by sharing my server. I was unable to implement it on WHM . I am trying to implement it with cpanel with the alreasy installed apache and mysql.


On Wednesday, April 9, 2014 7:22:40 PM UTC+5:30, keshav vats wrote:

Anand Doshi

unread,
Apr 11, 2014, 1:34:27 AM4/11/14
to keshav vats, erpnext-dev...@googlegroups.com

Hi Keshav,

Have a look at complications-faced-by-cpanel-users

The instructions maybe old but the problem with cpanel is that it does not allow installation of git due to perl restrictions.


Thanks,
Anand Doshi.
--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

keshav vats

unread,
Apr 11, 2014, 2:34:47 AM4/11/14
to erpnext-dev...@googlegroups.com
Thanks sir,
   The installation of erpnext for newbibes is quite difficult. The problem i am facing is that i am new to python and i don't know about the terminal commands also. As we can see that we have only google forums to get help even stack-overflow  users doesn't know about it very well. I am trying to implement it on my development server. I will update all all the problems faced by me during implementation and installation  in a well described format on google groups and stack overflow also. The service created by your team is awesome our team is making well efforts in understanding that. The only problem we are facing is python and terminal right know. We all are freshers for python and erp but we will be the most experienced developer of erp soon. 

Thanks again for your kind support. Hope this time i will post solutions rather than questions for erp :)


On Wednesday, April 9, 2014 7:22:40 PM UTC+5:30, keshav vats wrote:
Reply all
Reply to author
Forward
0 new messages