Install/upgrade both failed with same error trace.

94 views
Skip to first unread message

Nonnatee Kanjana

unread,
May 26, 2014, 10:11:36 AM5/26/14
to erpnext-dev...@googlegroups.com

/usr/bin/ld.bfd.real: cannot find -lssl


/usr/bin/ld.bfd.real: cannot find -lcrypto


collect2: error: ld returned 1 exit status


error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1


It seem that I’m missing some package from OpenSSL. But I have OpenSSL installed.


System:

Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)


Erpnext:

git updated v3.14.3 - running stable on development mode

v4 tried both erpnext-bench and frappe-bench - produce same error output.


any help is much appreciated.

Thx

Anand Doshi

unread,
May 26, 2014, 1:59:35 PM5/26/14
to erpnext-dev...@googlegroups.com
Hi Nonnatee,

I can’t find the context in which these errors occured.

Did you google these errors?

Can you paste the complete log of which commands you executed? 

-Anand.
--
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/45269483-9ece-412a-b3a0-380ea5b27c82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nonnatee Kanjana

unread,
May 26, 2014, 10:59:29 PM5/26/14
to erpnext-dev...@googlegroups.com

I Have run:

administrator@ERP:~/frappe-bench$ ./scripts/install.sh 

and

administrator@ERP:~/frappe-bench$ ./scripts/install.sh single   

and

administrator@ERP:~/frappe-bench$ ./scripts/install.sh single erp.th.ps-groups.com psgroup_db

and 

administrator@ERP:~/frappe-bench$ ./scripts/install.sh migrate_3_to_4 ~/erpnext


all of them yell the same result as follow;


New python executable in env/bin/python2.7

Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)

Installing setuptools, pip…done.

. . .

. . .

/usr/bin/ld.bfd.real: cannot find -lssl

/usr/bin/ld.bfd.real: cannot find -lcrypto

collect2: error: ld returned 1 exit status


error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


----------------------------------------

Cleaning up...

Command /home/administrator/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__=u'/home/administrator/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-TD2yXd-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/administrator/frappe-bench/env/include/site/python2.7 failed with error code 1 in /home/administrator/frappe-bench/env/build/mysql-python

Storing debug log for failure in /tmp/tmpKet2hm


Traceback (most recent call last):

  File "./scripts/virtualenv.py", line 2365, in <module>

    main()

  File "./scripts/virtualenv.py", line 829, in main

    after_install(options, home_dir)

  File "./scripts/virtualenv.py", line 2355, in after_install

    subprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e {}/'.format(app['name'])]), shell=True)

  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output

    raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command '/home/administrator/frappe-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1


hope it help. thx

Pratik Vyas

unread,
May 26, 2014, 11:17:49 PM5/26/14
to erpnext-dev...@googlegroups.com

The sudo apt get command was updated yesterday, run it again from here, https://github.com/frappe/frappe-bench/blob/master/Readme.md

And try the install script again

--
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.
Reply all
Reply to author
Forward
0 new messages