Unhelpful libtool error when compiling on Centos 7 #6682
Replies: 15 comments 3 replies
-
We didn't write nor maintain libtool. Consider their advice and see the libtool document for more information. |
Beta Was this translation helpful? Give feedback.
-
You didn't write it, but you are using it. Is there any chance that you might be using it wrongly? Centos was at one time very popular and 7.0 is still supported. It wouldn't be unreasonable for you to have compiled on Centos and learnt something from that process. You can't expect people who simply use your software to be as familiar with libtool as you are. "Hardcode" appears in limited parts of the libtool documentation, which not aimed at typical sysadmins. I didn't find it helpful. |
Beta Was this translation helpful? Give feedback.
-
We suspect that this is something that is related to your operating system or compiler tools that you are using. You can't expect us to setup a Centos environment that uses a compiler that is no longer supported to investigate this for you. |
Beta Was this translation helpful? Give feedback.
-
I was simply hoping for a clue as to how to proceed. I'm not happy supporting old systems, but it's where I find myself. It looks like the problem was simply that there was no C++ compile installed, only C. Having looked through the configure output I installed the C++ compiler and it now compiles. But shouldn't this be detected by ./configure? I am used to the configure stage detecting missing libraries, etc. |
Beta Was this translation helpful? Give feedback.
-
Look through config.log. It should show any errors. Always check the config.log for error and clues where to look. |
Beta Was this translation helpful? Give feedback.
-
Can you try installing cxx ( Looks like d6061d9#diff-b48650cabc0f502b52865f525765f2d688198f06e0ffb5456c76fabab7f2bfb2R2132 switched the linker for |
Beta Was this translation helpful? Give feedback.
-
configure did not detect the absence of a c++ compiler. Once I installed one I was able to compile the project. I request that the configure script warn if necessary packages are not installed on the system. |
Beta Was this translation helpful? Give feedback.
-
Edit: Wait I'm running a server on Ubuntu 22.04 and I'm getting the same (or at least a very similar) error ImageMagick Version I looked at the config log, makefile, and piped the ./configure and make (and gmake for good measure), but this is my first time installing ImageMagick and I'm not sure what I should be looking for. I uploaded these files with my username and server IP removed if anyone with more experience wants to take a look. In the meantime I'll try look at the Libtool documentation, although I'm not sure where to start |
Beta Was this translation helpful? Give feedback.
-
Try
Try make again. Does it work now? |
Beta Was this translation helpful? Give feedback.
-
It just returns |
Beta Was this translation helpful? Give feedback.
-
Try |
Beta Was this translation helpful? Give feedback.
-
It says that edit: OK, I rebooted and it's still giving the same error |
Beta Was this translation helpful? Give feedback.
-
I had exactly this issue on Ubuntu 20.04
Examination showed i had no C++ compiler installed. After installing one with |
Beta Was this translation helpful? Give feedback.
-
Tried the various suggestions made here, but none fixed the issue for me - Debian 6.5.13-1 (2023-11-29) x86_64 GNU/Linux |
Beta Was this translation helpful? Give feedback.
-
I encountered libtool: error: unsupported hardcode properties See the libtool documentation for more information during the compilation and installation of ImageMagick-7.1.1-26 Fatal configuration error |
Beta Was this translation helpful? Give feedback.
-
ImageMagick version
7.1.0-62
Operating system
Linux
Operating system, version and so on
CentOS Linux release 7.9.2009 (Core)
Description
Unhelpful compile time error.
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Steps to Reproduce
Images
No response
Beta Was this translation helpful? Give feedback.
All reactions