Bug #22433 -lpangoft2-1.0 not detected or added by configure on Solaris 10

Submitted: 18 Sep 2006 6:54 Modified: 6 Dec 2006 1:43
Reporter: Mark Detrick Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:5.0r2 OS:Solaris (Solaris 10)
Assigned to: Alfredo Kojima CPU Architecture:Any

[18 Sep 2006 6:54] Mark Detrick
Description:
Configure does not detect a required library required to build:
/mysql-gui-tools-5.0r2/mysql-administrator/source/linux

Platform:
SunOS hassium 5.10 Generic_118833-22 sun4u sparc SUNW,Ultra-60
gcc-4.1.1
GNU libtool, make, autoconf, binutils

hassium-bash /appl/mysql/mysql-gui-tools-5.0r2/mysql-administrator/source/linux # make
make  all-am
make[1]: Entering directory `/usr/local/appl/mysql/mysql-gui-tools-5.0r2/mysql-administrator/source/linux'
/usr/local/bin/g++  -g -O2   -o mysql-administrator-bin  MGUserBrowserList.o MInstanceInfo.o MDataInterface.o MDynamicInterface.o MAdministrator.o MTranslation.o MAPanel.o MAPreferences.o MAPreferencesEditor.o util.o main.o MAServerInformationPanel.o MAServiceControlPanel.o MAUserAdministrationPanel.o MAStartupParametersPanel.o MAServerConnectionsPanel.o MAHealthPanel.o MAServerLogsPanel.o MABackupPanel.o MARestorePanel.o MAReplicationStatusPanel.o MACatalogsPanel.o MADummyPanel.o ../../library/source/libadmin.a ../../../mysql-gui-common/source/linux/libmacommongui.a ../../../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a ../../../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a ../../../mysql-gui-common/library/utilities/source/.libs/libguiutil.a -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/local/lib -L/usr/sfw/lib -L/usr/local/mysql/lib -lmysqlclient_r -lpthread -lstdc++ -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lglade-2.0 -lxml2 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -R/usr/local/lib -lpcre 

/usr/local/lib/libpangocairo-1.0.so: undefined reference to `pango_fc_font_create_metrics_for_context'
collect2: ld returned 1 exit status
make[1]: *** [mysql-administrator-bin] Error 1
make[1]: Leaving directory `/usr/local/appl/mysql/mysql-gui-tools-5.0r2/mysql-administrator/source/linux'
make: *** [all] Error 2

How to repeat:
On Solaris 10 sparcv9
./configure
make

Suggested fix:
Add -lpangoft2-1.0 to the following:
-lstdc++ had to be added too before it would work.  Configure not functioning properly.

# mysql_administrator_bin_LDFLAGS=-pthread
mysql_administrator_bin_LDADD = \
        $(top_srcdir)/library/source/libadmin.a\
        $(top_srcdir)/../mysql-gui-common/source/linux/libmacommongui.a\
        $(top_srcdir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a\
        $(top_srcdir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a\
        $(top_srcdir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a\
        -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/local/lib -L/usr/sfw/lib -L/usr/local/mysql/lib -lmysqlclient_r -lpthread -l
stdc++ -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lglade-2.0 -lxml2 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpan
gomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcair
o -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lpangoft2-1.0 -R/usr/local/lib -lpcre
[18 Sep 2006 8:15] Sveta Smirnova
Thank you for the report.

Could you please try using current 5.0-r3 sources accessible from http://dev.mysql.com/downloads/gui-tools/5.0.html?
[3 Oct 2006 3:35] Mark Detrick
This bug appears to be resolved as of version 5.0r4.
[6 Dec 2006 1:43] Alfredo Kojima
Closing as user reports it has been resolved.

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

Page generated in 0.039 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.