08-25-2006
Just a followup with some more information for you gurus. When I run the apachectl start from a command line, in a bourne or korn shell, I get the following error about the LD_LIBRARY:
ld.so.1: httpd: fatal: libmysqlclient.so.6: open failed: No such file or directory
Killed
/usr/local/apache/bin/apachectl start: httpd could not be started
The libmysqlclient.so.6 file is located in /usr/local/mysql/lib/mysql.
I've edited the global .cshrc file to include the following:
setenv LD_LIBRARY_PATH /usr/openwin/lib:usr/local/lib:/usr/lib:/usr/local/mysql/lib/mysql:/usr/local/mysql/lib:/usr/sfw/lib
Still, I'm stumped.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not by any means a UNIX guru if you can't already tell by the question I'm about to ask.
How do I launch Apache web server on my SOlaris 8 server without rebooting it?
Any help would be much appreciated!!!
-Thanks (5 Replies)
Discussion started by: jskillet
5 Replies
2. UNIX for Dummies Questions & Answers
I successfully installed Apache, but When I tried to start it I experienced problems.
After installing and compiling, I typed the PREFIX "usr/local/
apache/bin/apachect1 start." The output was path not found.
After checking the apachect1 file using vi, I found the file empty.
There was no... (4 Replies)
Discussion started by: cstovall
4 Replies
3. Linux
Hi...
I have installed mysql in Fedora and when i tried to start mysql the error i get was
"Asked for 196608 thread stack"
What might be the problem????
I have tried all ways but doesnt work out........ (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
4. Programming
Hi
I am new to APR and I started programming using APR 1.2.2.
So please guide me how to start learning it? (0 Replies)
Discussion started by: sumsin
0 Replies
5. UNIX for Dummies Questions & Answers
I'm running a FreedBSD server with mysql 4.1. When I start mysqld via the command:
# /usr/local/bin/safe_mysqld --user=mysql
it starts the mysql db (I know because the websites are running off of it) but does not return to a prompt, it will let me type but will not respond unless I restart... (15 Replies)
Discussion started by: unispace
15 Replies
6. UNIX for Dummies Questions & Answers
I just installed Apache 2.2.6 & when trying to start it i got this:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
Any help? (3 Replies)
Discussion started by: moe2266
3 Replies
7. Web Development
Hi,
I just installed Apache 2.0.54 and when I try and start httpd I get
mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address :80
no listening... (1 Reply)
Discussion started by: mojoman
1 Replies
8. UNIX for Advanced & Expert Users
Sir,
I have installed an Apache server in Fedora 9 (packages)
and when i go to etc folder and try the command
httpd -k start
it says command not found....can any one help me out!!!
---------- Post updated at 12:02 PM ---------- Previous update was at 11:46 AM ----------
When i... (4 Replies)
Discussion started by: bssandeshbs
4 Replies
9. Red Hat
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies
10. HP-UX
Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm.
To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies
LEARN ABOUT SUSE
mysql_config
MYSQL_CONFIG(1) MySQL Database System MYSQL_CONFIG(1)
NAME
mysql_config - get compile options for compiling clients
SYNOPSIS
mysql_config options
DESCRIPTION
mysql_config provides you with useful information for compiling your MySQL client and connecting it to MySQL.
mysql_config supports the following options.
o --cflags
Compiler flags to find include files and critical compiler flags and defines used when compiling the libmysqlclient library. The
options returned are tied to the specific compiler that was used when the library was created and might clash with the settings for
your own compiler. Use --include for more portable options that contain only include paths.
o --include
Compiler options to find MySQL include files.
o --libmysqld-libs, --embedded
Libraries and options required to link with the MySQL embedded server.
o --libs
Libraries and options required to link with the MySQL client library.
o --libs_r
Libraries and options required to link with the thread-safe MySQL client library.
o --plugindir
The default plugin directory path name, defined when configuring MySQL. This option was added in MySQL 5.1.24.
o --port
The default TCP/IP port number, defined when configuring MySQL.
o --socket
The default Unix socket file, defined when configuring MySQL.
o --version
Version number for the MySQL distribution.
If you invoke mysql_config with no options, it displays a list of all options that it supports, and their values:
shell> mysql_config
Usage: /usr/local/mysql/bin/mysql_config [options]
Options:
--cflags [-I/usr/local/mysql/include/mysql -mcpu=pentiumpro]
--include [-I/usr/local/mysql/include/mysql]
--libs [-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
-lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto]
--libs_r [-L/usr/local/mysql/lib/mysql -lmysqlclient_r
-lpthread -lz -lcrypt -lnsl -lm -lpthread]
--socket [/tmp/mysql.sock]
--port [3306]
--version [4.0.16]
--libmysqld-libs [-L/usr/local/mysql/lib/mysql -lmysqld -lpthread -lz
-lcrypt -lnsl -lm -lpthread -lrt]
You can use mysql_config within a command line to include the value that it displays for a particular option. For example, to compile a
MySQL client program, use mysql_config as follows:
shell> CFG=/usr/local/mysql/bin/mysql_config
shell> sh -c "gcc -o progname `$CFG --include` progname.c `$CFG --libs`"
When you use mysql_config this way, be sure to invoke it within backtick ("`") characters. That tells the shell to execute it and
substitute its output into the surrounding command.
COPYRIGHT
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Sun Microsystems, Inc. (http://www.mysql.com/).
MySQL 5.1 04/06/2010 MYSQL_CONFIG(1)