Menu

#1201 program-suffix & libcurl

closed-invalid
None
2
2013-07-14
2013-03-01
No

curl version 7.29.0

Building with the --program-suffix option set does work fine for the executable, but the library doesn't get the suffix and, strange enough, the library man page does.

I would prefer to have a library with the suffix (so I can have a regular library, and a debug library for instance), and the man pages w/o suffix for executables and library (i.e. one man page is enough -- currently there are curl-configd.1, curld.1, and libcurld.3 after the suffixed build).

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2013-03-09

    I read you. But all things considered, I don't think this is an important bug...

     
    • René Berber

      René Berber - 2013-03-09

      I agree, plus nobody seems to do a separate debug version of a library at all, you always have to rename it.

       
  • Daniel Stenberg

    Daniel Stenberg - 2013-03-09
    • assigned_to: Daniel Stenberg
    • milestone: -->
    • priority: 5 --> 2
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-06-22
    • status: open --> pending-invalid
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-06-22

    This option is clearly documented to "Append suffix to installed program names" in the automake documentation[1].

    The library is not an installed program. This is then also why you see your programs get the suffix when you install them. Do you have any indication from anywhere that this should actually rename libraries as well?

    [1] = http://www.gnu.org/software/automake/manual/automake.html#index-_002d_002dprogram_002dsuffix_003dsuffix

     
    • René Berber

      René Berber - 2013-06-22

      Do you have any indication from anywhere that this should actually rename libraries as well?

      The only place I've seen it is in Qt, they do link with some debug libraries (libdbus-1d.a is the only I've seen, maybe there are others), and they name their libraries with the 'd' name suffix.

       
  • Daniel Stenberg

    Daniel Stenberg - 2013-06-23

    But is Qt then building/installing their libs with automake/libtool ? And btw, if you use different library names you must use different binaries that are built to use different libraries. It seems more clever to me to build different libraries with the same name but different --prefix or something so that you can run the same binary using different libraries from different places decided at run-time!

    I read more automake code and generated Makefiles, I'm positive the --program-suffix option is only intended for installed binaries/programs, not libraries. This is not a bug, and you can easily work-around this using other means.

    Unless you can convince me otherwise, I will close this soon without any further action.

     
  • Daniel Stenberg

    Daniel Stenberg - 2013-07-14
    • status: pending-invalid --> closed-invalid