Install/upgrade both failed with same error trace

/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



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-forum+un…@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.

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.

On Monday, May 26, 2014, Nonnatee Kanjana <no...@ps-groups.com> wrote:

/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



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-forum+un…@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.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF0BV4pAMScGPDjo7x7%2Bq%3DUKpS9RUxEYgj_11pKHNzfAqw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.

I Have run:

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

and

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

and

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

and 

ad...@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

On Monday, May 26, 2014 9:11:36 PM UTC+7, Nonnatee Kanjana wrote:

/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



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7ce1097c-5e29-4ba8-9b9f-09edced610ab%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

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

On 27 May 2014 08:29, "Nonnatee Kanjana" <no...@ps-groups.com> wrote:

I Have run:

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

and

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

and

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

and

ad...@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

On Monday, May 26, 2014 9:11:36 PM UTC+7, Nonnatee Kanjana wrote:

/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



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-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7ce1097c-5e29-4ba8-9b9f-09edced610ab%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.