Hi!.
Problem in the following

Server SunFire V100 (Solaris 10, SPARC, 64bit)
Mysql 4 (standard delivery)
my .profile
FAILED
./configure - enable-server - enable-agent - with-mysql - with-libcurl
error: main in-lmysqlclient... no
OK
./configure - enable-server - enable-agent --with-mysql=/usr/sfw/lib/libmysqlclient.so - with-libcurl
MAKE
In Linux Redhat 5 the line works:
./configure - enable-server - enable-agent - with-mysql - with-libcurl
Why in Solaris it is necessary to specify a way to a file libmysqlcilent.so
I think, what from this make install - comes to the end unsuccessfully?
Help me please!
Problem in the following

Server SunFire V100 (Solaris 10, SPARC, 64bit)
Mysql 4 (standard delivery)
my .profile
Code:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/dt/lib:/usr/lib:/etc/lib:/usr/ccs/lib:/usr/local/bin:/usr/sfw/lib:/usr/local/lib:/usr/ucb:/usr/sfw/bin:/usr/lib:/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/Ora10/bin:/opt/bin:/usr/local/bin:/usr/local/lib:/usr/sfw/lib export LD_LIBRARY_PATH PATH=$PATH:/usr/ucb:/usr/sfw/bin:/usr/lib:/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/Ora10/bin:/opt/bin:/usr/local/bin:/usr/local/lib:/usr/sfw/lib export PATH
FAILED
./configure - enable-server - enable-agent - with-mysql - with-libcurl
error: main in-lmysqlclient... no
OK
./configure - enable-server - enable-agent --with-mysql=/usr/sfw/lib/libmysqlclient.so - with-libcurl
MAKE
Code:
make install
Making install in src
Making install in libs
Making install in zbxcrypto
Making install in zbxcommon
Making install in zbxlog
Making install in zbxnix
Making install in zbxconf
Making install in zbxsysinfo
Making install in common
Making install in simple
Making install in solaris
Making install in zbxplugin
Making install in zbxsys
Making install in zbxcomms
Making install in zbxjson
Making install in zbxdb
if gcc-DHAVE_CONFIG_H-I.-I.-I../../../include-g-O2-MT db.o-MD-MP-MF " .deps/db. Tpo "-c-o db.o db.c; \
then mv-f " .deps/db. Tpo " " .deps/db. Po "; else rm-f " .deps/db. Tpo "; exit 1; fi
db.c: In function ` zbx_db_connect ':
db.c:87: error: ` CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
db.c:87: error: (Each undeclared identifier is reported only once
db.c:87: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target ` db.o '
Current working directory/inst/zabbix-1.6/src/libs/zbxdb
*** Error code 1
The following command caused the error:
failcom ='exit 1 '; \
for f in x $MAKEFLAGS; do \
case $f in \
* = * | - [! k] *);; \
*k *) failcom ='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target = ` echo install-recursive | sed s/-recursive // `; \
list ='zbxcrypto zbxcommon zbxlog zbxnix zbxconf zbxsysinfo zbxplugin zbxsys zbxcomms zbxjson zbxdb zbxdbcache zbxdbhigh zbxemail zbxsms zbxserver zbxicmpping '; for subdir in $list; do \
echo " Making $target in $subdir "; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target = " $ target-am "; \
else \
local_target = " $ target "; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test-z "$fail"
make: Fatal error: Command failed for target ` install-recursive '
Current working directory/inst/zabbix-1.6/src/libs
*** Error code 1
The following command caused the error:
failcom ='exit 1 '; \
for f in x $MAKEFLAGS; do \
case $f in \
* = * | - [! k] *);; \
*k *) failcom ='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target = ` echo install-recursive | sed s/-recursive // `; \
list ='libs zabbix_server '; for subdir in $list; do \
echo " Making $target in $subdir "; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target = " $ target-am "; \
else \
local_target = " $ target "; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test-z "$fail"
make: Fatal error: Command failed for target ` install-recursive '
Current working directory/inst/zabbix-1.6/src
*** Error code 1
The following command caused the error:
failcom ='exit 1 '; \
for f in x $MAKEFLAGS; do \
case $f in \
* = * | - [! k] *);; \
*k *) failcom ='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target = ` echo install-recursive | sed s/-recursive // `; \
list ='src create misc upgrades'; for subdir in $list; do \
echo " Making $target in $subdir "; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target = " $ target-am "; \
else \
local_target = " $ target "; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test-z "$fail"
make: Fatal error: Command failed for target ` install-recursive '
./configure - enable-server - enable-agent - with-mysql - with-libcurl
Why in Solaris it is necessary to specify a way to a file libmysqlcilent.so
I think, what from this make install - comes to the end unsuccessfully?
Help me please!
Comment