Hi ,
Am facing one problem while deploying the shared library in different
boxes.
I devoloped one shared library for TAM suite ( This is a IBM product
for different authentication mechanisms) to customise that product for
a different scenario.
We deployed the TAM in different boxex and the same library file is
deployed in all the machines.
It is working in three boxes perfectly fine but in one box it is not
working.
When we diagnose the shared librarty to zero out the problem , we came
to know one symbol is missing in that library.
---------------------------------------------
symbol not found: main (./libxauthn.so)
/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
symbol not found:
checkPropagateC ustomCdasErrors (./libxauthn.so)
/usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
But anywhere in my code I am not using this symbol. We are not aware
from where the loader is picking this symbol.
This problem is existing in only one server and the rest three are
executing perfectly fine.
Please let me know how to progress further.
Regards
Sunil. 11 2739
On Jun 16, 1:20*pm, sunil <sunil....@gmai l.comwrote:
---------------------------------------------
* symbol not found: main * * * * *(./libxauthn.so)
* * * * /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
* * * * symbol not found:
checkPropagateC ustomCdasErrors * * * * * * * *(./libxauthn..so)
* * * * /usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
Maybe a 3rd party library is calling that function? Or maybe it's
called by the application's "start up" code?
On Jun 16, 5:28*pm, Tomás Ó hÉilidhe <t...@lavabit.c omwrote:
On Jun 16, 1:20*pm, sunil <sunil....@gmai l.comwrote:
---------------------------------------------
* symbol not found: main * * * * *(./libxauthn.so)
* * * * /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
* * * * symbol not found:
checkPropagateC ustomCdasErrors * * * * * * * *(./libxauthn.so)
* * * * /usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
Maybe a 3rd party library is calling that function? Or maybe it's
called by the application's "start up" code?
How to diagnose the problem whether third party function is calling or
not?
Am unaware where and how to dig into the problem.
Regards
Sunil
sunil wrote:
Hi ,
Am facing one problem while deploying the shared library in different
boxes.
I devoloped one shared library for TAM suite ( This is a IBM product
for different authentication mechanisms) to customise that product for
a different scenario.
We deployed the TAM in different boxex and the same library file is
deployed in all the machines.
It is working in three boxes perfectly fine but in one box it is not
working.
When we diagnose the shared librarty to zero out the problem , we came
to know one symbol is missing in that library.
---------------------------------------------
symbol not found: main (./libxauthn.so)
/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
symbol not found:
checkPropagateC ustomCdasErrors (./libxauthn.so)
/usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
But anywhere in my code I am not using this symbol. We are not aware
from where the loader is picking this symbol.
This problem is existing in only one server and the rest three are
executing perfectly fine.
Please let me know how to progress further.
By "this symbol" do you mean `checkPropagate CustomCdasError s'
or do you mean `main'?
(In other words, I suspect the linking step has been messed
up somehow. The details of this step -- command options, search
paths, and so on -- are highly dependent on the tool set in use
and are not really C language issues. If investigating the "Why
is there no main() function in this program?" question doesn't
lead to the solution, try your question on an IBM or Sun forum.)
--
Eric Sosman es*****@ieee-dot-org.invalid
On Jun 16, 1:38*pm, sunil <sunil....@gmai l.comwrote:
On Jun 16, 5:28*pm, Tomás Ó hÉilidhe <t...@lavabit.c omwrote:
On Jun 16, 1:20*pm, sunil <sunil....@gmai l.comwrote:
---------------------------------------------
* symbol not found: main * * * * *(./libxauthn.so)
* * * * /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
* * * * symbol not found:
checkPropagateC ustomCdasErrors * * * * * * * *(./libxauthn.so)
* * * * /usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
Maybe a 3rd party library is calling that function? Or maybe it's
called by the application's "start up" code?
How to diagnose the problem whether third party function is calling or
not?
Am unaware where and how to dig into the problem.
I should have paid more attention to the error. Given that you're
getting a "symbol not found" error for "main", it definitely looks
like the problem is with the "start up" code, i.e. the secret code
that gets executed before main.
I'd say the problem is either:
1) The compiler is corrupt and needs to be reinstalled
2) The project options are screwed up
Try creating a brand new project and copying all the header and source
files to it, then re-compile.
If that doesn't work, re-install the compiler.
On Jun 16, 5:43*pm, Tomás Ó hÉilidhe <t...@lavabit.c omwrote:
On Jun 16, 1:38*pm, sunil <sunil....@gmai l.comwrote:
On Jun 16, 5:28*pm, Tomás Ó hÉilidhe <t...@lavabit.c omwrote:
On Jun 16, 1:20*pm, sunil <sunil....@gmai l.comwrote:
---------------------------------------------
* symbol not found: main * * * * *(./libxauthn.so)
* * * * /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
* * * * symbol not found:
checkPropagateC ustomCdasErrors * * * * * * * *(./libxauthn.so)
* * * * /usr/lib/cpu/sparcv8plus/libCstd_isa.so. 1
------------------------------------
Maybe a 3rd party library is calling that function? Or maybe it's
called by the application's "start up" code?
How to diagnose the problem whether third party function is calling or
not?
Am unaware where and how to dig into the problem.
I should have paid more attention to the error. Given that you're
getting a "symbol not found" error for "main", it definitely looks
like the problem is with the "start up" code, i.e. the secret code
that gets executed before main.
I'd say the problem is either:
* * 1) The compiler is corrupt and needs to be reinstalled
* * 2) The project options are screwed up
Try creating a brand new project and copying all the header and source
files to it, then re-compile.
If that doesn't work, re-install the compiler.- Hide quoted text -
- Show quoted text -
Tomas/Eric
Forgot to write onething in the last mail.The error pasted in the last
mail is the output of the command "ldd -r <shared library name>",here
the command is executed against my shared library.
We are checking ldd against the library thats the reason it is
throwing the "main" error.It is not our primary concern.
Main concern is the symbol "checkPropagate CustomCdasError s".From where
this symbol is picked up?
In my code I am not using this kind of function
(checkPropagate CustomCdasError s) or variable.Why it is coming only in
one server if the rest of three is working fine.
Regards
Sunil.
On Jun 16, 2:00*pm, sunil <sunil....@gmai l.comwrote:
In my code I am not using this kind of function
(checkPropagate CustomCdasError s) or variable.Why it is coming only in
one server if the rest of three is working fine.
Two possibilites that come to mind:
1) The other two servers don't call this function, but this
problematic server does and it can't find it. This would be caused by
the problematic server using a different version of a 3rd party
library, for instance.
2) All three servers call this function, but it's simply missing on
the problematic server. This would be caused by a corrupt installation
of the compiler or of 3rd party libraries.
sunil skrev:
>
Forgot to write onething in the last mail.The error pasted in the last
mail is the output of the command "ldd -r <shared library name>",here
the command is executed against my shared library.
We are checking ldd against the library thats the reason it is
throwing the "main" error.It is not our primary concern.
Main concern is the symbol "checkPropagate CustomCdasError s".From where
this symbol is picked up?
In my code I am not using this kind of function
(checkPropagate CustomCdasError s) or variable.Why it is coming only in
one server if the rest of three is working fine.
gcc -Wl,-cref
should instruct the linker to provide a cross reference. Lot's of output..
--
Tor <bw****@wvtqvm. vw | tr i-za-h a-z>
sunil wrote:
Tomás Ó hÉilidhe <t...@lavabit.c omwrote:
.... snip ...
>
>Try creating a brand new project and copying all the header and source files to it, then re-compile.
If that doesn't work, re-install the compiler.- Hide quoted text -
In my code I am not using this kind of function
(checkPropagate CustomCdasError s) or variable. Why it is coming
only in one server if the rest of three is working fine.
Be advised that Tomas is plonked for bigotry by various users here,
and thus his errors will not be corrected, or even seen, by many
users. Tomas has also been known, earlier, to have some wierd
ideas about the C language.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home .att.net>
Try the download section.
** Posted from http://www.teranews.com **
On Jun 16, 11:06*pm, CBFalconer <cbfalco...@yah oo.comwrote:
Be advised that Tomas is plonked for bigotry by various users here,
and thus his errors will not be corrected, or even seen, by many
users. *Tomas has also been known, earlier, to have some wierd
ideas about the C language.
It's a shame you can't see past your own personal prejudices to
embrace or at least tolerate my beliefs that are different to yours.
Hopefully one day all humanity can co-exist peacefully.
As for the allegations of "weird ideas", well I'll be more than happy
to answer specific instances that are backed up with examples. Anyone
can make wild allegations, see:
CBFalconer was arrested for drug dealing back in 1995. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Torbak |
last post by:
I got some question about symbols in libraries ...
In libraries, there is public symbols and "not public" symbols
(private, static)... In C when we use the "static" keyword on the
declaration of a function, the function is not public in the library.
1- When I use a class, all is symbols are put in the public section of
the library. How can I change that. The keyword "private" in a class
is only for the langage or does it change (like...
|
by: Stu |
last post by:
I am trying to build the xerces shared library with 2.3.0 version of
their source code on an AIX 5.1 32 bit machine with the following
version of the g++ compiler
/usr/local/bin/g++ -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --disable-nls
Thread model: aix
gcc version 3.3.1
|
by: glaserp |
last post by:
Hi,
I am developing a Windows application with C# in Visual Stuio .NET. My
application references three assemblies that are developed in another
project. I have added these assemblies as references, so that when I
compile the project, the dll files and corresponding pdb files are are
automatically copied to the bin\debug directory of my application. When
I look at the Modules window during debugging, it seems that the debug
symbols for...
|
by: Mathieu Malaterre |
last post by:
Hello,
I have currently a piece a code which look like this:
foo.h
-------------------
extern const std::string NotFound;
foo.cxx
|
by: Jason Hurder |
last post by:
Hey folks,
I think this is a configuration issue. I have 3 projects running under
one solution, 1 is a Windows service, 1 is a administration module and
another a class library (dll) that is used by the service. Some files
are shared among the projects, like user settings. I am "linking" the
shared files to the projects by using the "Open link" option when adding
an existing item to a project. However when I compile, I get the age-old...
| |
by: Lane Brooks |
last post by:
I am embedding python into a linux shared library (let's call it
libembedpy.so).
The main application loads this shared library dynamically using libdl
and is not linked against libembedpy.so
Under this scenerio, I get ImportErrors when I try import modules:
File "test.py", line 3, in ?
import time
|
by: =?Utf-8?B?SnVhbiBEZW50?= |
last post by:
Hi,
I am getting the following in a VC++ EXE (using VS2005) that links several
C++ DLLs and uses MFC and ATL, when I try to start it under the debugger:
-------
'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No
symbols loaded.
'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No
symbols loaded.
|
by: bbansi_1982 |
last post by:
Hi,
I have built DCOracle2 with python. But when i
try to import dco2 inside python prompt it gives me
the error Failed to load dco2.sl although it has been
built properly and dlopen is also able to load the
shared library without any unresolved symbols.
The machine details are as follows:
Machine: HP-UX dafne B.11.23 U ia64
Compiler: HP aC++/ANSI C B3910B A.06.05
Python version: 2.4
|
by: ilanbm |
last post by:
Hi
We have an odbc driver that we wrote. This is actually a shared object which implements a set of SQLxxx functions.
There is also another shared object that we did not write, which is the odbc driver manager. The odbc driver manager implements the same set of functions.
An application that invokes odbc calls (i.e. calls to SQLxxx functions) is dynamically linked to the odbc driver manager.
The odbc driver manager then maps these calls...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |