Author Topic: Installation Problem ld.exe  (Read 7378 times)

Offline CEinNYC

  • Single posting newcomer
  • *
  • Posts: 3
Installation Problem ld.exe
« on: November 04, 2010, 04:05:57 pm »
Noob here to CodeBlocks, and trying to compile initial programs (circa "Hello World!" level), and I'm encountering this problem

ld.exe cannot find -lstrmbase
ld.exe cannot find -lz


I do have MinGW installed and using the most up to date version of CodeBlocks.   I find that this is a common problem on forums, but the resolution options are either inconsistent or dated to previous versions of CodeBlocks/Windows.

Any suggestions?  This is for a class and I"m the sole PC user in the class (Apple users dominate the class).  So, I'm out here alone.   :shock:

Thanks for any advice!
« Last Edit: November 04, 2010, 04:08:14 pm by CEinNYC »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Installation Problem ld.exe
« Reply #1 on: November 04, 2010, 04:46:53 pm »
Turn ON FULL Compiler Logging!!!

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Post info about your Compiler! Name and Version?

Find a site that supports your Compiler for most questions like this.

Do the missing libraries exist as standard in the Compiler?
Or, do you have the Libraries installed that the Compiler can not find?

Path to the Libraries?

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Installation Problem ld.exe
« Reply #2 on: November 04, 2010, 04:49:29 pm »
Just delete the libraries from the project settings if you do not really need them (z and strmbase)... which, for a nearly "Hello World" project, you will most likely not.

Offline CEinNYC

  • Single posting newcomer
  • *
  • Posts: 3
Re: Installation Problem ld.exe
« Reply #3 on: November 05, 2010, 04:51:26 pm »
Thanks for the replies. Still no luck but I'm on the path.  (Sans, deleting libraries, but that may be my last resort).


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Installation Problem ld.exe
« Reply #4 on: November 05, 2010, 09:38:17 pm »
Thanks for the replies. Still no luck but I'm on the path.  (Sans, deleting libraries, but that may be my last resort).



Try installing the z library.

Edit: And, delete the strmbase from your library list.

Tim S.
« Last Edit: November 06, 2010, 09:21:24 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

jamec9869

  • Guest
Re: Installation Problem ld.exe
« Reply #5 on: November 18, 2010, 04:09:58 am »
I've the same problem

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Installation Problem ld.exe
« Reply #6 on: November 18, 2010, 05:18:21 am »
I've the same problem

Find a site that supports your compiler and post there!!

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Installation Problem ld.exe
« Reply #7 on: November 18, 2010, 07:30:39 am »
I've the same problem

Find a site that supports your compiler and post there!!

Tim S.
He will not answer.
It was just spambot and the account is deleted now.