Author Topic: tranlib not found in compiling a static library in C  (Read 3592 times)

Offline m.pasotti

  • Single posting newcomer
  • *
  • Posts: 2
tranlib not found in compiling a static library in C
« on: September 26, 2016, 12:29:53 pm »
I'm trying to compile my simple static library project with the Intel C++ compiler.
I found the error:
/bin/sh: tranlib: command not found.

I'm under Cento6.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: tranlib not found in compiling a static library in C
« Reply #1 on: September 26, 2016, 08:23:27 pm »
Do you have tranlib executable in the file system? If not you need to fix your toolchain executables in the Settings -> Compiler.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline m.pasotti

  • Single posting newcomer
  • *
  • Posts: 2
Re: tranlib not found in compiling a static library in C
« Reply #2 on: September 30, 2016, 11:42:06 am »
What is the tranlib the executable? I have no such file in my PC...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: tranlib not found in compiling a static library in C
« Reply #3 on: September 30, 2016, 04:34:12 pm »
What is the tranlib the executable? I have no such file in my PC...

Do you know what a Compiler is?

If no, do some research and learn what a compiler is!

If yes, do you have the "Intel C++ compiler" installed on your computer.
If not installed, stop trying to use a Compiler you do NOT have!

Edit: Added link http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps

Tim S.
« Last Edit: September 30, 2016, 11:31:10 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