Welcome, Guest
Username: Password: Remember me

TOPIC: makeall90 /usr/bin/ld: cannot find ....

makeall90 /usr/bin/ld: cannot find .... 12 years 6 months ago #4546

  • Q. Oliveira
  • Q. Oliveira's Avatar
Hallo Everybody,

I have the follow problem during the makeall90 on Ubuntu:

/usr/bin/ld: cannot find -lstdc++
collect: ld returned 1 exit status

Someone knows what I have to do? Which Ubuntu library I need install?

Best,

Gustavo.
The administrator has disabled public write access.

Re: makeall90 /usr/bin/ld: cannot find .... 12 years 6 months ago #4559

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Did you try to make a:
sudo apt-get install libstdc++6-4.4-dev

Maybe you should check first if the version is appropriate but i hope this will help you to find a solution

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Q. Oliveira

Re: makeall90 /usr/bin/ld: cannot find .... 12 years 6 months ago #4560

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello,

You can safely remove the -lstc++ option from the LK_OPT_NORMAL variable in your $SYSTELCFG/systel.ini : LK_OPT_NORMAL=" ... -lstdc++ "

'-lstdc++' and '-lz' are only mandatory when support of the external library MED (file format) is asked.

Don't forget to run cfgmak after any change in systel.ini.

Fabien Decung
The administrator has disabled public write access.
The following user(s) said Thank You: Q. Oliveira

Re: makeall90 /usr/bin/ld: cannot find .... 12 years 6 months ago #4589

  • Q. Oliveira
  • Q. Oliveira's Avatar
Dear Fabien Decung and C.Coulet,

I tested with your suggestions and it works. Now I have the telemac compilation and the executable files successfully installed.

About the library, I tested the installation with the following packs:

sudo apt-get install zlib1g-dev
sudo apt-get install g++-multilib

It works too.

Best,

Gustavo.
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.