Bug #1036 mysql_config is duplicating libraries

Submitted: 12 Aug 2003 12:57 Modified: 12 Aug 2003 13:53
Reporter: Brian Aker Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:all OS:
Assigned to: CPU Architecture:Any

[12 Aug 2003 12:57] Brian Aker
Description:
Look in the output and you will see that we are duplicating libraries (aka notice how -lresolv is repeated). 

[brian@avenger brian]$ mysql_config
Usage: /usr/bin/mysql_config [OPTIONS]
Options:
        --cflags         [-I'/usr/include/mysql']
        --libs           [-L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm  -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv]
        --socket         [/var/lib/mysql/mysql.sock]
        --port           [3306]
        --version        [4.0.13]
        --libmysqld-libs [ -L'/usr/lib/mysql' -lmysqld -lpthread -lz -lcrypt -ln sl -lm  -lpthread -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns - lresolv -lrt]

How to repeat:
Type mysql_config, it will continue to repeat.
[12 Aug 2003 13:53] Sergei Golubchik
It's intentional workaround to be able compile with static nss

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.057 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.