Getting error when checking syntax
When I run ./syslog-ng --syntax, I get the following: ld.so.1: syslog-ng: fatal: relocation error: file syslog-ng: symbol g_option_context_new: referenced symbol not found Killed As suggested, I installed syslog-ng 3.0.4 from SFW. This is a Solaris 10 SPARC physical machine. Thanks, Paul ************************************ This email may contain privileged and/or confidential information that is intended solely for the use of the addressee. If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act. You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information. There are risks associated with the use of electronic transmission. The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission. ************************************
On Fri, 2009-09-11 at 13:32 -0400, PAUL WILLIAMSON wrote:
When I run ./syslog-ng --syntax, I get the following:
ld.so.1: syslog-ng: fatal: relocation error: file syslog-ng: symbol g_option_context_new: referenced symbol not found Killed
As suggested, I installed syslog-ng 3.0.4 from SFW.
This is a Solaris 10 SPARC physical machine.
The above error message has nothing to do with syslog-ng itself, it indicates that the installed glib does not satisfy all symbol requirements of syslog-ng: either it is not installed or is not recent enough. do you have glib installed? which version? -- Bazsi
Balazs Scheidler <bazsi@balabit.hu> 9/12/2009 2:05 AM >>> On Fri, 2009-09-11 at 13:32 -0400, PAUL WILLIAMSON wrote: ld.so.1: syslog-ng: fatal: relocation error: file syslog-ng: symbol g_option_context_new: referenced symbol not found Killed>
As suggested, I installed syslog-ng 3.0.4 from SFW.
This is a Solaris 10 SPARC physical machine.
The above error message has nothing to do with syslog-ng itself, it indicates that the installed glib does not satisfy all symbol requirements of syslog-ng: either it is not installed or is not recent enough.
do you have glib installed? which version? I'm using pkg-get and sunfreeware, and when I do a glib upgrade through there, I get:
# pkg-get upgrade glib No worries... you already have version 2.20.4 of glib But, there's no glib-config included in 2.20.4 for some reason. The only glib-config on the system is in /usr/sfw/bin, and running glib-config --version shows: 1.2.10 I'm not sure what to do to fix this issue. Paul ************************************ This email may contain privileged and/or confidential information that is intended solely for the use of the addressee. If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act. You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information. There are risks associated with the use of electronic transmission. The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission. ************************************
Hi,
# pkg-get upgrade glib No worries... you already have version 2.20.4 of glib But, there's no glib-config included in 2.20.4 for some reason.
glib 2 doesn't have glib-config.
The only glib-config on the system is in /usr/sfw/bin, and running glib-config --version shows: 1.2.10
Hmm, really aged one... I guess this is provided for backwards compatibility for solaris 8 or even older binaries. Could you check the executable, what libraries does it require and how does RUNPATH look like? You can use 'elfdump -d <binary>' to get this information. Regards, Sandor
participants (3)
-
Balazs Scheidler
-
PAUL WILLIAMSON
-
Sandor Geller