Getting a fatal relocation error while using a sudo command.
I am getting the following error while trying to execute a sudo command:
ld.so.1: sudo: fatal: relocation error: file /usr/local/bin/sudo: symbol closefrom: referenced symbol not found
the sudo version I use is: 1.6.8p9
the SUNWcsu package that contains the ld.so.1 library is version: 11.8.0,REV=2000.01.08.18.12
any ideas?
Just had the same error
ld.so.1: sudo: fatal: libintl.so.8: open failed: No such file or directory
Killed
was solved by adding the Dependances
libintl-3.4.0-sol10-sparc-local.gz Libintl is used with gettext and is needed by a few programs when libintl in not in /usr/lib - installs in /usr/local/lib. The 3.4.0 package number indicates that this provides /usr/local/lib/libintl.so.3.4.0 (and also the new /usr/local/lib/libintl.so.8.0.2). Dependencies: libiconv and to have /usr/local/lib/libgcc_s.so.1 and /usr/local/lib/libstdc++.so.6, either the libgcc-3.4.6 or gcc-3.4.6 packages.
http://www.sunfreeware.com/indexsparc10.html
Similar Messages
-
Hi,
I installed the new jdk1.4 on my Solaris-7 machine. Initially I installed 32-bit jdk1.4 and then installed 64-bit jdk1.4 as indicated on your (sun's) installation page. I used executable binary version of installation for installing the software.
The installation was successfully completed. But while I run java command then it gave following error
Error: failed /export/home/j2sdk1.4.0/jre/lib/sparc/client/libjvm.so, because ld.so.1: ./java: fatal: relocation error: file /export/home/j2sdk1.4.0/jre/lib/sparc/client/libjvm.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
Why I am not able to execute any java command with this version? On the same machine I am able to run jdk1.2 and jdk1.3
Please advise on it. It will be of great help If I get some suggestion.
Thanks in Advance,
AshishIn particular, patch 106327-14 seems to solve the problem.
-
Getting 'File not found' error while using server object model code
Hi,
I am using server object model code to pull list data in a console application. My machine has standalone installation of SP 2010. I am getting error 'File Not Found', however the same operation is working fine with client object model code.
Code I am using:
string strURL=http://servername/sites/sitename;
SPSite siteObj=new SPSite (strURL); //getting error here.
I have already checked the below,
1. Framework being used is 3.5.
2. I have proper access to site.
3. Running visual studio as admin.
Any help is much appreciated.
thanks
Tarique
thanks and regards Tarique AslamHello Tarique ,
Couple of pints need to check:
1. User running the console application needs to have at least read permission to the SharePoint databases
2. Set application by changing the "Platform target:" option on the "Build" to "Any CPU"
Also refer this similar thread:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2a419663-c6bc-4f6f-841b-75aeb9dd053d/spsite-file-not-found
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Getting Out of memory error while using HashMap
Hi,
I'm using HashMap to have string as key, some object as value.
oHm.put(sKey, oMyVal); //oHM - HashMap
The actual number of entries i need to put is 200K....
Buy my program is not crossing even for 100K....
Its giving OutOfMemory error...... ( 1 GB memory, Win XP )
Any pointers to resolve this?
Thanks in Advance...
AshokDo we have any alternate other than increasing the memory for JVM?Did you read what I said on 8/04/2008 22:20 (reply 1 of 5)?
It's still the best looking option, especially if this large number is going to grow. -
Error while using unpack.sh command to configure domain
Hi all,
I have to create one common domain for two different boxes.
BOX A has -->weblogic,SOA
BOX B has -->weblogic,OSB
I have configured the Domain in BOX A for SOA first and extended OSB using IP address of BOX B .
Then i pack th domain using pack command .
Then i copied the .jar file to BOX B
Then while i try to unpack this domain i am stuck with this error
The Command i used
"bash-3.2$ ./unpack.sh -domain=/u02/app/Oracle/Middleware/user_projects/domains/soad_domain -template=/u02/user_templates/POCDomain.jar
<< read template from "/u02/user_templates/POCDomain.jar"
fail: read template from "/u02/user_templates/POCDomain.jar"CFGFWK-60550: Script execution aborted. The script may contain an error.
Required component home not found for component 'oracle.rules' version '11.1.1.5.0' "
I have cross checked the domain paths of both the boxes it is exactly the same.
The weblogic server installed is also of same versions.
The unpack.log file has the following error
2012-05-23 14:54:45,349 DEBUG [runScript] com.oracle.cie.oui.impl.FMWHomeInventoryImpl - Trying to find a match for oracle.rules:11.1.1.5.0 using default minimum matching positions.
2012-05-23 14:54:45,349 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Trying to find a match for oracle.rules:11.1.1.5.0 in /u02/app/Oracle/Middleware/coherence_3.6 using 2 minimum matching positions.
2012-05-23 14:54:45,349 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Found no match.
2012-05-23 14:54:45,350 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Trying to find a match for oracle.rules:11.1.1.5.0 in /u02/app/Oracle/Middleware/wlserver_10.3 using 2 minimum matching positions.
2012-05-23 14:54:45,350 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Found no match.
2012-05-23 14:54:45,350 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Trying to find a match for oracle.rules:11.1.1.5.0 in /u02/app/Oracle/Middleware/Oracle_OSB1 using 3 minimum matching positions.
2012-05-23 14:54:45,354 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Found no match.
2012-05-23 14:54:45,354 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Trying to find a match for oracle.rules:11.1.1.5.0 in /u02/app/Oracle/Middleware/oracle_common using 3 minimum matching positions.
2012-05-23 14:54:45,354 DEBUG [runScript] com.oracle.cie.oui.impl.ProductHomeInventoryImpl - Found no match.
2012-05-23 14:54:45,354 DEBUG [runScript] com.oracle.cie.oui.impl.FMWHomeInventoryImpl - Final match(es): []
2012-05-23 14:54:45,355 ERROR [runScript] com.oracle.cie.domain.DomainTemplate - Required component home not found for component 'oracle.rules' version '11.1.1.5.0'
2012-05-23 14:54:45,355 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - fail: read template from "/u02/user_templates/POCDomain.jar"
2012-05-23 14:54:45,355 ERROR [runScript] com.oracle.cie.domain.script.ScriptExecutor - read template from "/u02/user_templates/POCDomain.jar"
com.oracle.cie.domain.ConfigRuntimeException: Required component home not found for component 'oracle.rules' version '11.1.1.5.0'
at com.oracle.cie.domain.DomainTemplate.<init>(DomainTemplate.java:256)
at com.oracle.cie.domain.DomainTemplate.<init>(DomainTemplate.java:182)
at com.oracle.cie.domain.WLSTemplateBuilder.parseTemplate(WLSTemplateBuilder.java:575)
at com.oracle.cie.domain.WLSTemplateBuilder.parseDomainTemplate(WLSTemplateBuilder.java:485)
at com.oracle.cie.domain.WLSTemplateBuilder.buildDomainTemplate(WLSTemplateBuilder.java:1369)
at com.oracle.cie.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processRead(ScriptParserClassic.java:520)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:426)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:551)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:335)
at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:662)
2012-05-23 14:54:45,357 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /u02/app/Oracle/Middleware/wlserver_10.3/common/lib/tmpUnpack.cws
com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domain.ConfigRuntimeException: Required component home not found for component 'oracle.rules' version '11.1.1.5.0'
at com.oracle.cie.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:465)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processRead(ScriptParserClassic.java:520)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:426)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:551)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:335)
at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.cie.domain.ConfigRuntimeException: Required component home not found for component 'oracle.rules' version '11.1.1.5.0'
at com.oracle.cie.domain.DomainTemplate.<init>(DomainTemplate.java:256)
at com.oracle.cie.domain.DomainTemplate.<init>(DomainTemplate.java:182)
at com.oracle.cie.domain.WLSTemplateBuilder.parseTemplate(WLSTemplateBuilder.java:575)
at com.oracle.cie.domain.WLSTemplateBuilder.parseDomainTemplate(WLSTemplateBuilder.java:485)
at com.oracle.cie.domain.WLSTemplateBuilder.buildDomainTemplate(WLSTemplateBuilder.java:1369)
at com.oracle.cie.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:429)
... 15 more
2012-05-23 14:54:45,358 DEBUG [WizardController] com.oracle.cie.wizard.WizardController - Terminating.
Please share something if any one came across the same error.
Waiting for your kind replies
Thank You
Anand.UYes, for extending Domain i have installed OSB in BOX A but while configuring the OSB domain i have given the IP of BOX B and then packed that domain.
Thanks
Anand.U -
Hi,
I am getting the following oracle error while using exp,
can someone please suggest on this,
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SIEBEL
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SIEBEL
About to export SIEBEL's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SIEBEL's tables via Conventional Path ...
. . exporting table EIM_ACCDTL_TNT
EXP-00008: ORACLE error 904 encountered
ORA-00904: "MAXSIZE": invalid identifier
. . exporting table EIM_ACCNTROUTE
EXP-00008: ORACLE error 1003 encountered
ORA-01003: no statement parsed
. . exporting table EIM_ACCNT_CUT
EXP-00008: ORACLE error 904 encountered
ORA-00904: "MAXSIZE": invalid identifier
. . exporting table EIM_ACCNT_DTL
EXP-00008: ORACLE error 1003 encountered
ORA-01003: no statement parsedSatish is right, there exists bug for 11.1.0.6.
Look at metalink note 741984.1.
Bug number is 5872788 - there exists patch as well. -
Getting error while using Callouts
Hi Gurus,
I am getting the below error while using callouts.
Error -: AIP-51806: Error during callout invocation: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
at java.lang.Thread.run(Thread.java:534)
at oracle.tip.adapter.b2b.callout.B2BCalloutHandler.handleOutgoingCallout(B2BCalloutHandler.java:344)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1606)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
Caused by: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
at java.lang.Thread.run(Thread.java:534)
at com.tm.EncryptMessage.execute(EncryptMessage.java:47)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
at java.lang.Thread.run(Thread.java:534)
I have configured the property "password" in the "Callout Properties" & "Callout Usage". I think no properties reaching the "CalloutContext" in the callout class.
Please help me in this.
Regards,
Vithal
Edited by: Vithal R on 03-Jun-2009 08:07Hi Vithal,
Did you try with sample callouts -
http://download-uk.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm
For your case, make sure -
You are following below steps to create the property -
http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm#BEIFDECJ
You have selected the appropriate callout usage while creating the agreement.
Callout Directory : Just mention the folder and not the jar.
Mention the appropriate jar file in the Libray name section of the "create call out"
Let us know the result please.
Regards,
Anuj
Edited by: Anuj Dwivedi on Jun 4, 2009 11:39 AM -
Getting Error while using CallTarget class
I am getting following error while using the CallTarget.
"Exception in thread "main" java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
at AntCallTarget.main(AntCallTarget.java:7)"
Can anyone please help me solve this problem.
The code where i am getting this error is
CallTarget antCall = new CallTarget();
antCall.setTarget("Main");I am getting following error while using the CallTarget.
"Exception in thread "main" java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
at AntCallTarget.main(AntCallTarget.java:7)"
Can anyone please help me solve this problem.
The code where i am getting this error is
CallTarget antCall = new CallTarget();
antCall.setTarget("Main"); -
I have create Logic App under Azure App Services, I am getting
error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
Following are the screen shots:
Login App Connector Diagram:
hemaMarking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
http://twitter.com/joshtwist -
Ld.so.1 problem - fatal: relocation error - "referenced symbol not found"
Hi, I've been trying to compile and run my application non Solaris using CC (detils below) but haven't got luck with running the application because of a linker error :
ld.so.1: java: fatal: relocation error: file ./libtest.so: symbol __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_: referenced symbol not found
Here's what I'm trying to do :
I'm compieing one library to include another shared library whcih uses the "string" class (STL). The compilation of both the libraries proceeds perfectly fine. However, when i preload this library with LD_PRELOAD and run a JAVA application (which will have calls to some function in the preloaded library), the get the above linker error.
Here's what all I have tries to get thsi wroking : ( I understand that this error is due to a missing library that CC has not linked to and i've no idea what the library is!!!)
1.> # LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
# export LD_LIBRARY_PATH - NO LUCK :-(
2.> linked to /opt/SUNWspro/lib/libCrun.so (found this from another forum on the net), but NO LUCK :-(
3.> export LD_DEBUG=bindings
export LD_DEBUG_OUTPUT=/home/log.txt (so that all sysmbols refered are logged!!!)
i did a grep on the log for the symbol but NO LUCK!!! :-(
Please can you help me with this? What is the library that is to be linked too, or is there something else?
Details About my system, compiler and compilation options :
1.> uname -a output : SunOS sh1sol9 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-280R Solaris
2.> CC version : Sun WorkShop 6 update 2 C++ 5.3
3.> Compilation flags i've used to build the library :
FIRST LIBRARY : CC -G -xcode=pic32 -I../common/ -ldl ../common/logger.cpp helper_functions.cpp BCPEntries.cpp BCP_class.cpp -o libBCP.so
SECOND LIBRARY : CC -G -xcode=pic32 -I../common/ test_BCP_construct.cpp -lBCP -L. -o libtest.so
Please help me out of this,
Any and every help (or even a hint to it) will be appreciated!!!
Thanks in advance,
Madhur Kumar TanwaniRefer to the C++ Users Guide that comes with the compiler, the chapter on Building Libraries, which explains these points in more detail.
When you build a C++ shared library, you must explicitly list all the libraries that it depends on. Unlike building an executable, the CC -G command does not by default create dependencies on system libraries. Although not explained well in the Guide, you should be sure you get the shared (.so) versions of all libraries, not the static (.a) versions.
All C++ programs require at least libCrun and libc. Programs that use the C++ Standard library (using anything in the std namespace, like std::string) also need to link to the appropriate version of the library.
The default library is libCstd. If you compile using the optional STLport library, you need the libstlport instead. You cannot use both libCstd and libstlport in the same program.
In your case, the build command would look something like this, assuming you are using the default libCstd:
CC -G -o mylib.so ..... -library=Cstd,Crun -lc
Be sure that any preceeding -Bstaic option is followed by -Bdynamic before listing these system libraries.
To verify you have picked up the dynamic libraries, run the command
ldd mylib.so
to see a list of dependencies. If you don't see the following in the list
/usr/lib/libCstd
/usr/lib/libCrun
/usr/lib/libc (or /lib/libc)
something is wrong.
A note about LD_LIBRARY_PATH: don't use it.
Ideally, the environment variable should never be set. If you must set it to reach vendor-supplied libraries, never put the system directories /lib or /usr/lib on the path, and never put the compiler installation directory, like /opt/SUNWspro/... on the path. You can wind up forcing the runtime loader to seach directories in the wrong order and pick up inappropriate versions of libraries.
For more on LD_LIBRARY_PATH, read this note in Rod Evans' blog. He's the Sun linker expert. The material here is available in the manuals, but his blog has a nice summary.
http://blogs.sun.com/roller/page/rie/?anchor=tt_ld_library_path_tt -
I am attempting to run a build of a system known as nauticus under Solaris 10 but I am getting the following error:
ld: fatal: relocation error: R_386_32: file .rel.debug_info: section: /home/dmclaug/trees/gcctree/trunk/build-solaris-4.2.3/src-nauticus/bin/solaris/libsmftypes.o: offset: 0x23e3d6: relocation requires reference symbol
collect2: ld returned 1 exit status
This system has been successfully built using gcc-3.2.3 under Solaris 10, but the error above is generated now that we have installed gcc-4.2.3. Does anyone have any idea what might be causing the problem here? Are there additional flags or switches that are required?
Some additional background on my system:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
Sun Streaming Server Development Package for Solaris Update 4.
PackageVersion=2.0
cat /etc/release
Solaris 10 8/07 s10x_u4wos_12b X86
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
isainfo -x
amd64: sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu
i386: sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu
isalist
amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86The bootstrap compiler is GCC 3.4.3.
I tried Sun's assembler (/usr/ccs/bin/as) too and got another error (below)
I also tried bootstrapping with Sun's Studio 12 compiler but that too failed.
*$ pkginfo -x SUNWbinutils SMCbinut*
SMCbinut binutils
(x86) 2.17
SUNWbinutils binutils - GNU binutils
(i386) 11.10.0,REV=2005.01.08.01.09
*$ whence gcc*
/usr/sfw/bin/gcc
*$ gcc -v*
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
The error this time is:
/big1/usr.local.src/gcc-4.3.1/s10i/./gcc/xgcc -B/big1/usr.local.src/gcc-4.3.1/s10i/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/ -B/usr/local/i386-pc-solaris2.10/lib/ -isystem /usr/local/i386-pc-solaris2.10/include -isystem /usr/local/i386-pc-solaris2.10/sys-include -g -fkeep-inline-functions -m64 -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../.././gcc -I../../../../gcc-4.3.1/libgcc -I../../../../gcc-4.3.1/libgcc/. -I../../../../gcc-4.3.1/libgcc/../gcc -I../../../../gcc-4.3.1/libgcc/../include -DHAVE_CC_TLS -o gcov.o -MT gcov.o -MD -MP -MF gcov.dep -DLgcov -c ../../../../gcc-4.3.1/libgcc/../gcc/libgcov.c
Assembler: libgcov.c
"/var/tmp//ccYcw90K.s", line 1936 : Syntax error
Near line: " repz cmpsb" -
Hi,
I get the following error when trying to link on Solaris 8 using Forte CC. This code links without any problems on Solaris 6 using g++. I've tried searching the web for info, but to no avail.
Also, in this ckErrorCode class there are 4 methods(note there are also 4 of these unknown symbols) and when I comment out all the code it links, but I get unresolved symbols later, as you'd expect.
Anyone come across this before?
Thanks in advance,
Chris
CC -c -xarch=v9 -instances=static -g -D_DEBUG -KPIC -mt -DPOSIX_THREADS -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE -I../inc -I.. -I../Dev/Source -I../Unsupported ../src/ckErrorCode.cpp -o ../src/ckErrorCode_g.o
CC -xarch=v9 -mt -i -KPIC -G -h ckTester_51g.so -I../inc -I.. -I../Dev/Source -I../Unsupported -o ckTester_51g.so ../src/ckErrorCode_g.o
ld: fatal: relocation error: R_SPARC_DISP64: file ../src/ckErrorCode_g.o: symbol <unknown>: offset 0xffffffff7e500ce4 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP64: file ../src/ckErrorCode_g.o: symbol <unknown>: offset 0xffffffff7e500cf4 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP64: file ../src/ckErrorCode_g.o: symbol <unknown>: offset 0xffffffff7e500d21 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP64: file ../src/ckErrorCode_g.o: symbol <unknown>: offset 0xffffffff7e500d31 is non-aligned
make: *** [ckTester_51g.so] Error 1Try setting the configure runtime linking environment:
#crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/usr/local/etc/mysql/lib
Shane Kinsch
NetraCorp LLC / SecurNET Consulting -
Hi Gurus.
Please help in this one.
When I try to use tar the following output is displayed:
tar cvf 123.tar 123.txt
ld.so.1: tar: fatal: relocation error: file /usr/sbin/tar: symbol fstatat64
tar xvf 123.tar
ld.so.1: tar: fatal: relocation error: file /usr/sbin/tar: symbol fchownat: referenced symbol not found
Killed
Check output ldd:
ldd -r /usr/bin/tar
libcmd.so.1 => /usr/lib/libcmd.so.1
libsec.so.1 => /usr/lib/libsec.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Sun-Fire-xxx/lib/libc_psr.so.1
symbol not found: attropen64 (/usr/sbin/tar)
symbol not found: fstatat64 (/usr/sbin/tar)
symbol not found: openat64 (/usr/sbin/tar)
symbol not found: fchownat (/usr/sbin/tar)
symbol not found: unlinkat (/usr/sbin/tar)
symbol not found: futimesat (/usr/sbin/tar)
symbol not found: fdopendir (/usr/sbin/tar)
Output of: LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
/usr/lib:/usr/dt/lib:/opt/app/lib
already try unset LD_LIBRARY_PATH
Any ideas.
I can tell You that tar was working fine 2 months ago.
I suspect data corruption
Many thanks
AllrounderHi,
Is Vi functional on your system? If you havent already tried this you may want to try removing /usr/ucb/lib from LD_LIBRARY_PATH environment variable, or put /usr/lib in LD_LIBRARY_PATH before /usr/ucblib. This might clear up some of the problems you are having.
Regards,
Andrew
Sun Developer Technical Support
I got this message when i tried to install remedy on
Solaris 7. T
ld.so.1: vi: fatal: relocation error: file vi: symbol
cur_term: referenced
symbol not found
Killed
Then i took advices from others and set the
LD_LIBRARY_PATH to
"/usr/openwin/lib:/usr/dt/lib:/usr/ucblib", seemed it
worked for others, but i still get the same error
messages.
Any1 has any idea how to fix it?
thanks -
I got this message when i tried to install remedy on Solaris 7. T
ld.so.1: ex: fatal: relocation error: file ex: symbol cur_term: referenced
symbol not found
Killed
Then i took advices from others and set the LD_LIBRARY_PATH to "/usr/openwin/lib:/usr/dt/lib:/usr/ucblib", seemed it worked for others, but i still get the same error messages.
Any1 has any idea how to fix it?
thanksThen i took advices from others and set the
LD_LIBRARY_PATH to
"/usr/openwin/lib:/usr/dt/lib:/usr/ucblib", seemed it
worked for others, but i still get the same error
messages.A bad advice.
You have a good installation of the OS and other
custom programs when you can run all programs without
LD_LIBRARY_PATH! (Hint: Use the -R linker option when
compiling your own programs)
Remove the LD_LIBRARY_PATH environment variable and vi
starts working again.
(At least remove /usr/ucblib, this directory on the
general ld library path is really bad) -
Hello,
I am trying to run my application (using Java) on windows which in turn calls the Remote Manager on Solaris(Solaris 9 on SPARC Processor).
It gives the following linker error:
ApiInitLocal():ApiInitLocal: START
ApiInitLocal():* * * A P I I N I T * * *
ld.so.1: java: fatal: relocation error: file /opt/rm902/remotemanager/soFile/libACEUser.so: symbol Sd_ApiInit: referenced symbol not found
Killed
I tried setting "LD_LIBRARY_PATH" , but that also didnt work.
Any help would be highly appreciated.
Thanks in advanceHello all
I am new to JNI and while trying to run my
to run my first program I am receiving an error in
compilation of the 'C' file. For ur clarity my taken
steps are given as follows:
a. First I created 'HelloNative.java'
Then I compiled it and after running created the
the HelloNative.h
b. Then I wrote the HelloNative.c file and when I
compile it using MS VC++ then it gives the
following error:
--------------------Configuration: helloNative -
- Win32 Debug--------------------
Compiling...
helloNative.c
f:\bin\hellonative.c(3) : fatal error C1083: Cannot
open include file: 'jni.h': No such file or directory
Error executing cl.exe.
helloNative.obj - 1 error(s), 0 warning(s)
PLZ HELP ME ON THIS.
So for a quick patch, copy the jni.h file from the include
directory of your java installation files to the include
files that your c complirer has and uses.
Maybe you are looking for
-
Em console does not work in 11.1.1.0.0 Standalone oc4j
Hi, I have installed 11g OC4j ( Oracle Container for Java EE 11.1.1.0.0) and after starting the OC4J I can see the http://localhost:8888 welcome page but I am not able to access http://localhost:8888/em page. Is it renamed? I need to login to Admin p
-
Where do I find the Foncall plugin?
I have the plugin, but I need it for one of my partners. He cannot find it.
-
Hi, can we maintain versions for smartforms? if yes, how?
-
How can I print from my ipad to a Brother LC985?
Does anyone know how I can print from my Ipad 3 to a Brother LC 985 wireless printer or what do I need to download for this?
-
BT headset pairs and connects, but doesn't auto-select
I'm posting this hear because I'm using Gnome front-ends to negotiate the bluetooth profiles/etc, but I know that it might be bluez or PulseAudio that's "faulty" here. That said... I've got a pair of bluetooth headphones that work great. They pair, c