Executables and indirect shared libraries question

Hello all !
On Linux when you compile a shared library you do not have to specify indirect library dependencies at link time.
But what about executables : do you have to specify all the libraries direct and indirect at link time ?
Is dlopen the only solution to by-pass such restriction ?
Thank you very much for your help !
Cheers,
Chicha

In the man page atexit(3) for solaris 8:
The number of functions that may be registered with atexit()
is limited only by available memory (refer to the
SCATEXIT_MAX argument of sysconf(3C)).
*** end quote ****
     You may be running out of avail mem before
the app terminates normally, objects needed by the
app never got loaded and it seq faults when it tries
to access them. Normally, according to the man page,
atexit() is called when exit() is called or main()
returns, the app is exiting. For the app to seg fault
suggests that the objects it needs aren't there,
suggesting that they didn't get loaded.

Similar Messages

  • SDK swc files and runtime shared libraries

    Hi,
    Can someone tell me what effect setting the swc files in the sdk folder as runtime shared libraries in a project via the Library Path in the Flex Build Path. Does setting these as runtime libraries have an effect on a project or is it just setting the framework as a runtime library amend the final movies file size?
    Thanks
    Stephen

    It will make your SWF size smaller which should reduce load time and bandwidth costs.  You may need to change your code as using RSLs may find places where you need to specify a ContextualClassFactory instead of plain old ClassFactory.  Those usually show up if you use embedded fonts and find they aren't working properly.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Very SLOW synching and freezing and dropping shared libraries

    I have had my APT for about 2-3 years now. Never had issues until about a month ago.
    In the past 3 days, i have spent a lot of time on the phone with tech support. My ATV would drop my shared library from my laptop, then it would appear again, drop it, appear again, etc ....
    I decided to wipe the hard drive and reinstall the entire OS on the ATV.
    But then we couldn't get the ATV to find the network. Considering my extreme station was in a different room, I bridged the network with another extreme I had on hand. My Wii and laptop in the living room pick up the signal with full strength. And the ATV shows full bars as well now.
    I then tried to download the software update 3 times, and FINALLY I got it installed before it froze.
    Now, I am streaming fine with my laptop, but I want to synch my Mac Pro with the Apple TV just like last time.
    Now only has it taken 2 hours to synch 25 photos, it has been freezing still during the synch.
    Tech support doesn't know what else to do.
    Any ideas?

    I don't think i have two stations streaming the same network, but my main extreme station is at one end of my condo, and the Apple TV had issues reaching that signal, so we took an Express and bridged, or extended, the network.
    Now that Apple TV sees the network, but the streaming, synching issues still continue.
    Oh, and when is ay we, I mean the tech support people at Apple advised me to use the express (i already owned it) to extend the network signal range.

  • Shared libraries / home sharing and iPod touch

    i have never had nor used an iphone or ipod touch, but am considering an iPod touch. i would really like to be able to see, organize, and play shared libraries. eg:
    - use my touch to access the Mac upstairs that has all my music on it's itunes
    - build or choose a playlist
    - play from that machine to my airtunes, viewing the playlist through itunes on the touch
    is this possible?
    thanks!

    Setting up Home Sharing
    Note: To stream your iTunes library to your iPod touch, you will need iOS 4.3 or later.
    On your iPod touch, tap Settings > Music.
    In the Home Sharing section, enter the same Apple ID and password you entered on your computer (or computers) and tap the return button.
    Playing Home Sharing content
    To watch shared videos on your iPod touch, tap Videos > Shared and select a shared library.
    To listen to shared music on your iPod touch, tap Music > More… > Shared and select a shared library.
    Note: If your iPod touch does not have a locally store library, you will enter your shared library in the Music and Videos apps immediately when you open them.
    Additional Information
    If you receive an error message saying that your device was "Unable to turn on Home Sharing", then you may have entered your password incorrectly. Tap OK and try again.

  • ITunes 9.1.0.79 No longer shows shared libraries.

    Hi all. If you install this version and you no longer see any shared libraries on the network anymore, then do the following.
    1. Go to Start>Settings>Control Panel>Add/Remove Programs
    2. Uninstall Bonjour (this seems to be the problem with sharing)
    3. Then, if you can get hold of it, install the previous version of Bonjour (the one that came with iTunes 9.0.3)
    4. Restart iTunes and your shared libraries should now be showing.
    Good luck, this is the only solution I have at this stage.

    Hi, just follow the steps above, it should bring it back. Alternatively, after installing this version and rebooting your PC sometime solves this problem.
    Good luck

  • Shared development directory with shared libraries

    Is there a way to use the .beabuild.txt format with things other than EARs? I've got some java and web shared libraries, and I'd like to take advantage of this feature to enable rapid development of these entities.

    Dird wrote:
    Hi guys,
    I need to link to files on a shared directory (Windows based) within some APEX pages (Linux based). Anyone done this process before? How would I do it? I've tried the following:file:///J:/dir/dir/file.doc
    file:///hostname/dir/dir/file.doc
    /i/file.doc  and #IMAGE_PREFIX#file.doc  // copied file to the linux images directory to testBut none of the following allows you to access the file (nothing pops up). All users have it mapped to the J: drive on their local machine. Offsite access isn't required.Browser? Version?
    Basically file:http:security on most modern browsers won't allow you to access <tt>file:</tt> scheme URLs from an <tt>http:</tt> scheme site. Doing so is seen as a violation of the same origin policy.
    Locate the file in the database or on a web server file system and access it using <tt>http:</tt>.

  • ITunes not showing shared libraries?

    Since coming to my school, I'm not able to share my shared library with the other kids on my floor, and I can't see theirs. I have music sharing enabled (I haven't changed any of the settings since I left home, where I have had no problems sharing and viewing shared libraries there or anywhere else up to this point). Even when I turn my firewall off, it doesn't work. Every now and then I will try to quit iTunes and it will say 1 user is connected to my account, but only rarely and I can never see anyone else's libraries, although when I use my roommates' laptops, both Mac and Windows, I can see that there are plenty of people sharing their libraries.
    What other steps can I try? I was able to check out other peoples' playlists when I was here a few years ago and I miss discovering new music/meeting my neighbors (in a way)!

    Solved it myself

  • Cannot access iTunes Protected Content in Shared Libraries on Apple TV 2.3

    Hi all,
    Does anyone else have this problem?
    In Apple TV 2.3, I cannot access any protected content in SHARED libraries. The primary computer that syncs with Apple TV works fine, and I can listen to protected music, movies, etc purchased on iTunes, but from the other 4 computers in our household I cannot listen to their PROTECTED content, instead getting "Your Apple TV is not authorized to play this content".
    If I revert to factory defaults (Apple TV 1.0), then I can listen to protected content in my own library and shared libraries without problems, but I cannot view movies I have purchased as they require Apple TV 2.0 or above.
    I can reproduce this perfectly every time, basically if I upgrade to 2.3, I can't have protected content on shared libraries, and if I use 1.0 I can't have my movies...
    All non-protected content is fine on both my synced library and the shared libraries.
    I have tried all the Apple suggested fixes on their support page (factory reset of Apple TV, deauthorizing/authorizing iTunes on all the computers several times, and the internet connection definitely works - I tested it by buying a song via my TV).
    A solution would be much appreciated, but I'm convinced that this is probably a bug since I can reproduce it over and over every time...

    No I don't have the other's authorized with my computer, but I don't see why it would matter though as the Apple TV is its 'own' device isn't it?
    All of us have our own iTunes accounts so each of the shared libraries would be under a separate email address.
    That said, in 1.0 it isn't an issue to access the DRM'd content in shared libraries under the various user accounts, it only seems to be 2.3 that has broken this for us.
    I've logged a bug via that feedback page, do they actually get resolved though?

  • Error 0(Native: listNetInterfaces:[3]) and error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    Hi Gurus,
    I'm trying to upgrade my test 9.2.0.8 rac to 10.1 rac. I cannot upgrade to 10.2 because of RAM limitations on my test RAC. 10.1 Clusterware software was successfully installed and the daemons are up with OCR and voting disk created. Then during the installation of RAC software at the end, root.sh needs to be run. When I run root.sh, it gave the error: while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory. I have libpthread.so.0 in /lib. I looked up on metalink and found Doc ID: 414163.1 . I unset the LD_ASSUME_KERNEL in vipca (unsetting of LD_ASSUME_KERNEL was not required in srvctl because there was no LD_ASSUME_KERNEL in srvctl). Then I tried to run vipca manually. I receive the following error: Error 0(Native: listNetInterfaces:[3]). I'm able to see xclock and xeyes. So its not a problem with x.
    OS: OEL5 32 bit
    oifcfg iflist
    eth0 192.168.2.0
    eth1 10.0.0.0
    oifcfg getif
    eth1 10.0.0.0 global cluster_interconnect
    eth1 10.1.1.0 global cluster_interconnect
    eth0 192.168.2.0 global public
    cat /etc/hosts
    192.168.2.3 sunny1pub.ezhome.com sunny1pub
    192.168.2.4 sunny2pub.ezhome.com sunny2pub
    192.168.2.33 sunny1vip.ezhome.com sunny1vip
    192.168.2.44 sunny2vip.ezhome.com sunny2vip
    10.1.1.1 sunny1prv.ezhome.com sunny1prv
    10.1.1.2 sunny2prv.ezhome.com sunny2prv
    My questions are:
    should ping on sunny1vip and sunny2vip be already working? As of now they dont work.
    if you look at oifcfg getif, I initially had eth1 10.0.0.0 global cluster_interconnect,eth0 192.168.2.0 global public then I created eth1 10.1.1.0 global cluster_interconnect with setif. Should it be 10.1.1.0 or 10.0.0.0. I looked at the subnet calculator and it says for 10.1.1.1, 10.0.0.0 is the subnet. In metalink they had used 10.10.10.0 and hence I used 10.1.1.0
    Any ideas on resolving this issue would be very much appreciated. I had been searching on oracle forums, google, metalink but all of them refer to DOC Id 414163.1 but it does n't seem to work. Please help. Thanks in advance.
    Edited by: ayyappa on Aug 20, 2009 10:13 AM
    Edited by: ayyappa on Aug 20, 2009 10:14 AM
    Edited by: ayyappa on Aug 20, 2009 10:15 AM

    a step forward towards resolution but i need some help from the gurus.
    root# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.2.3 sunny1pub.ezhome.com sunny1pub
    192.168.2.4 sunny2pub.ezhome.com sunny2pub
    10.1.1.1 sunny1prv.ezhome.com sunny1prv
    10.1.1.2 sunny2prv.ezhome.com sunny2prv
    192.168.2.33 sunny1vip.ezhome.com sunny1vip
    192.168.2.44 sunny2vip.ezhome.com sunny2vip
    root# /u01/app/oracle/product/crs/bin/oifcfg iflist
    eth1 10.0.0.0
    eth0 192.168.2.0
    root# /u01/app/oracle/product/crs/bin/oifcfg getif
    eth1 10.0.0.0 global cluster_interconnect
    eth0 191.168.2.0 global public
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    ****ORACLE_HOME environment variable not set!
    ORACLE_HOME should be set to the main directory that contain oracle products. set and export ORACLE_HOME, then re-run.
    root# export ORACLE_BASE=/u01/app/oracle
    root# export ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    root# export ORA_CRS_HOME=/u01/app/oracle/product/crs
    root# export PATH=$PATH:$ORACLE_HOME/bin
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    VIP does not exist.
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny1pub -o $ORACLE_HOME -A 192.168.2.33/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny2pub -o $ORACLE_HOME -A 192.168.2.44/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    VIP exists.: sunny1vip.ezhome.com/192.168.2.33/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny2pub -a
    VIP exists.: sunny2vip.ezhome.com/192.168.2.44/255.255.255.0
    Once I execute the add nodeapps command as root on node 1, I was able to get vip exists for config nodeapps on node 2. The above 2 statements resulted me with same values on both nodes. After this I executed root.sh on both nodes, I did not receive any errors. It said CRS resources are already configured.
    My questions to the gurus are as follows:
    Should ping on vip work? It does not work now.
    srvctl status nodeapps -n sunny1pub(same result for sunny2pub)
    VIP is not running on node: sunny1pub
    GSD is not running on node: sunny1pub
    PRKO-2016 : Error in checking condition of listener on node: sunny1pub
    ONS daemon is not running on node: sunny1pub
    [root@sunny1pub ~]# /u01/app/oracle/product/crs/bin/crs_stat -t
    Name Type Target State Host
    ora....pub.gsd application OFFLINE OFFLINE
    ora....pub.ons application OFFLINE OFFLINE
    ora....pub.vip application OFFLINE OFFLINE
    ora....pub.gsd application OFFLINE OFFLINE
    ora....pub.ons application OFFLINE OFFLINE
    ora....pub.vip application OFFLINE OFFLINE
    Will crs_stat and srvctl status nodeapps -n sunny1pub work after I upgrade my database or should they be working now already? I just choose to install 10.1.0.3 software and after running root.sh on both nodes, I clicked ok and then the End of installation screen appeared. Under installed products, I see 9i home, 10g home, crs home. Under 10g home and crs home, I see cluster nodes(sunny1pub and sunny2pub) So it looks like the 10g software is installed.

  • Shared Libraries Dummy Questions

    Hello *,
    I am painfully improving my understanding about shared libs. I read the technical docs how to reference them etc but I guess I am missing the concepts.
    I built a web service with workshop 10.3 which of course runs fine from workshop, default settings, so the web service references 3 shared libs automagically.
    Now I manually deployed this webservice app to a managed server instead of admin and it failed. I figured out I have to target the shared libs to the managed server which is of course understandable. But still, wouldn't it be helpfull to have shared libs targeted to all servers as default? (actually I am not sure if there is such a thing, target to all servers, all I know is target to a whole cluster).
    Now I tried to deploy the same web service to another domain with admin console. This fails. Workshop deploys the shared libs but admin doesn't.
    Now my main question is about the concept behind.
    1. Is there a recommended way to get rid of the shared libs for a workshop project once it was configured to use shared libs?
    Is the only way manually adding the shared lib under WEB-INF/lib?
    2. Is there a deploy dependent shared libs? I mean if workshop can do it, couldn't wls admin do it the same way?
    3. If I generate a build script, will it take care of deploying shared libs?
    4. let's assume I want to replace the wls-commonslogging-bridge.war which contains the commons-logging.jar,
    where is this jar located?
    I understand share libs make sense for bigger projects, but I don't understand I have to deploy 3 of them first to
    make a hello world web service run.
    curious,
    Barossa
    Edited by: Barossa on Feb 18, 2009 9:17 PM

    First, for Workshop questions you may want to try that specific forum:
    Workshop
    Your question definitely has WebLogic components too. Let me give some of these a try.
    >
    1. Is there a recommended way to get rid of the shared libs for a workshop project once it was configured to use shared libs?
    Is the only way manually adding the shared lib under WEB-INF/lib?That would be one way, another way would be APP-INF/lib of the EAR. The shared libraries are defined in weblogic.xml or weblogic-application xml. Typically a domain will be configured with the libraries to be deployed when it is created if you're just using the standard WebLogic shared libraries like the Workshop framework, etc. You can also make sure that your deployment mechanism, like WLST, checks to make sure the libraries are deployed.
    >
    2. Is there a deploy dependent shared libs? I mean if workshop can do it, couldn't wls admin do it the same way?It's my understand that this is a convenience mechanism that Workshop built specifically. You're shared libraries are defined in Workshop in the preferences so it knows where to get them from if they are missing, that's not necessarily true for deploying from the Admin Server.
    3. If I generate a build script, will it take care of deploying shared libs?Definitely WLST can be used to do this.
    4. let's assume I want to replace the wls-commonslogging-bridge.war which contains the commons-logging.jar,
    where is this jar located?Can't remember offhand (not on my normal machine right now), but you should be able to check easily by searching your installation of WLS for the shared library name (the war in this case). Also, Workshop should have a reference to it somewhere in the preferences.
    I understand share libs make sense for bigger projects, but I don't understand I have to deploy 3 of them first to
    make a hello world web service run.As I mentioned earlier, if you made the domain a Workshop domain when you created it, those shared libraries should already have been deployed and it would be ready to go.
    curious,
    Barossa
    Edited by: Barossa on Feb 18, 2009 9:17 PM

  • HT4557 Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!

    Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!
    The home sharing is now off and still has all the songs one there. Even rebooted the wifi modem, supporting hard drives and all computer involved in this catastrophe!! :( all computer are all updated and updated to the new iTunes.
    Please any help would be greatly appreciated and any more questions welcome. Thanks

    Basically anything not purchased from iTunes that is on my iPhone 6 will not sync over to my MacBook. I have tried to just manually back it up but only the purchased music will sync over to iTunes.

  • Executable and shared library portability

    Hi,
    What are things that one should keep in mind when trying to deploy executables and shared library built on one machine to another.
    Thanks

    1. Use compiler options to generate code for the most generic of the machines you intend to support. For example, if you intend to run on UltraSparc II systems, don't generate code for US III. The option -xarch=v8plus is suitable for all 32-bit Sparc systems less than 10 years old. Avoid -xchip, -xcache, and other processor-specific options.
    2. Build on the earliest version of Solaris that you intend to support. If you allow your clients to use Solaris 8 or later, you must build your libraries and applications on Solaris 8. Binaries created on later versions of Solaris cannot be expected to work on earlier versions of Solaris, but can be expected to work on later versions.
    3. Do not link system libraries statically. Always link the shared library. Static versions of system libraries can't be expected to work a a different version of Solaris, or on a different patch level of the same Solaris version.
    4. Make a note of the patch level of system libraries on your build system. For C++, check especially the patch level of SUNWlibC. Clients might need the same or later patch levels on their systems. For our products, we set up our build machines with the earliest patch levels that allow our products to work. We document those patch levels, and provide the minimum patches with the product installation. If a client system has a later patch level, the patch we supply won't be installed, and the later patch level should allow the product to work correctly.

  • Best Practice for External Libraries Shared Libraries and Web Dynrpo

    Two blogs have been written on sharing libraries with Web Dynpro DC, but I would
    like to know the best practice for doing this.
    External libraries seem to work great at compile time, but when deploying there is often an error related to the external library not being a deployed component. 
    Is there a workaround for this besides creating a shared J2EE library which I have been able to get working?  I am not interested in something that works, but really
    what are the best practice for this. What is the best way to  limit the number of jars that need to be kept in a shared library/ext library.  When is sharing ref service/etc a valid approach vs. hunting down the jars in the portal libraries etc and storing in an external library.

    Security is mainly about mitigation rather than 100% secure, "We have unknown unknowns". The component needs to talk to SQL Server. You could continue to use http to talk to SQL Server, perhaps even get SOAP Transactions working but personally
    I'd have more worries about using such a 'less trodden' path since that is exactly the areas where more security problems are discovered. I don't know about your specific design issues so there might be even more ways to mitigate the risk but in general you're
    using a DMZ as a decent way to mitigate risk. I would recommend asking your security team what they'd deem acceptable.
    http://pauliom.wordpress.com

  • HT2688 I just want to know where to find the shared libraries on the new iTunes. These articles are a million years old, and are of no help.

    I just want to know where to find my shared libraries on the stupid new iTunes. The layout was fine before, but when they changed it, I can't seem to find them. The articles on Apple are a million years old, before the latest iTunes update, so they are no help. Thanks.

    carlygo wrote:
    The articles on Apple are a million years old, before the latest iTunes update, so they are no help. Thanks.
    It's only 7 months old and it is still correct.
    ctrl B = Show sidebar.
    ctrl S = Show menu.

  • HT1904 parental controls and shared libraries

    We're slowly migrating towards having all our music and movies in iTunes.
    One item that's crutial to this migration is proper parental controls, especially with shared libraries. They seem to work well on the kids iTouch devices and hide the content that's higher than their allowed rating level.
    However, on my daughter's computer (Vista SP2 with iTunes 11.0.2), the shared libraries with content higher than her allowed rating are visible and can be started, even when the parental controls are enabled.
    What am I doing wrong?
    Thanks,
    Eric

    It seems that the parental controls only apply to iTunes store, not the iTunes library?
    Correct; parental controls do indeed only apply to iTunes Store purchases.
    The only reasonable workaround I can think of that the kids can't easily get around to have separate iTunes libraries, one for the adults in the house and one from the kids.

Maybe you are looking for

  • Posting not possible

    hi all sap guru i am not able to make goods receipts message is comming posting not possible in periods 2002/11 & 2002/10 in co.cd.xyxy thanks in advance

  • HP vs 19 monter will not let me have access to the moniter menu items

     Will HP Keep this forum on- line so that questions and answers can be used in future. this is a great way to add solid infomation that people like me, 74, can look through common and those aren't so common problems. Great Service.

  • Update application which uses Web Services library

    Hello! I am developing an application in which a Web Service is imported into a LabView Library. My virtual instrument (vi) has some functions/references of the Web Service, used from the lvlib. My problem is that when I update the webservice (change

  • How to get rid of multiple syntex error messages?

    In the past two weeks I have started getting layers and layers of "sandbox syntax error" and "syntax error" from Java Script while browsing using Fire Fox. I have tried to use the helps that are offered but have not found any suggestion to fix my pro

  • Why does my cropped image disappear?

    After importing a jpeg file into my pages document, I have tried repeatedly to crop ("mask") the unwanted portions of the image. When I am finished applying the mask, I have double-clicked on the image--exactly as the "help" page instructs--and the i