#1654 libtool does not correctly recognize x86-64 shared libraries

None
closed
nobody
non-mingw (19)
2013-01-17
2012-07-10
Pavel Fedin
No

objdump reports 'pei-x86-64', and not 'pe-x86-64' file format for shared libraries. This prevents libtool from recognizing them correctly.
The simplest way to fix this is to replace "pe-x86-64" with "pe*-x86-64" in two places:
1. ltmain.m4sh, func_win32_libid() function
2. libtool.m4, file_magic definition.

Discussion

  • Pavel Fedin

    Pavel Fedin - 2012-07-10

    Sorry, a little bit over-reported. (1) is wromg func_win32_libid() processes DLLs correctly. The bug i observed was actually my fault (i forgot to issue libtoolize on the source code in order to update aclocal.m4). However, (2) is still valid, because it's used as a fallback if there's no 'file' command.

     
  • Earnie Boyd

    Earnie Boyd - 2012-07-10
    • labels: 456608 --> non-mingw
    • status: open --> closed
     
  • Earnie Boyd

    Earnie Boyd - 2012-07-10

    You'll need to take it up with bug-libtool@gnu.org; we do not maintain libtool.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks