Shared libraries and archive

Does anyone know if it's possible to convert a shared library into an archive file?
I'd like to generate a static binary. However, some of the libraries that come with Solaris are only available in shared library format.
TIA,
Andrew

Hi Andrew,
I have not tested this one but I found the previous answer somebody from Sun posted regarding this question.
I am enclosing this for you:
You can create an archive library from a shared library. Following is an example for libCstd library -
CC -G -z allextract /opt/SUNWspro/WS6/lib/libCstd.a -h libCstd.so.1 -o libCstd.so.1 -lCrun
ln -s libCstd.so.1 libCstd.so
The above may not work if the archive library is built without the -Kpic
.....jagruti
Developers Technical Support
Sun Microsystems, http://www.sun.com/developers/support

Similar Messages

  • How can i remove shared libraries and itunes

         how can i remove shared libraries and itunes account from my iphone to my little brothers itouch if we both share the same itunes?
    he keeps on getting all the apps that i download as well as pictures i was wondering if anyone knows how to fix this problem

    You could either remove the iCloud account altogether and have him create his own or go into settings->store-> and switch automatically download Apps off.  And go into icloud and turn off photostream.  Depends on what you prefer.

  • 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

  • Shared Libraries and personal security

    Have there been any security issues with Shared Libraries?

    Not sure if this will help. But here is my story. We have home network with my spouse's IMac and my HP Elite Windows 7 64 PC on the network. The IMac detected the ATV and sync'd with it. My Win 7 PC would not detect it.
    Call/chats with HP, Microsoft, Apple and Costco Concierge all failed to solve this problem. HP and Apple wanted $70 to have their "experts" diagnose it.
    After fiddling with this for weeks, my spouse said "don't you know only one PC can be connected at a time?!! I learned that Apple TV can only detect or sync with one PC at a time. When the IMac was disconnected to the Apple TV, my Windows 7 PC did detect the Apple TV when I Tunes was launched. Simple solution. Glad I did not pay HP or Apple TV $70-80 to diagnose this problem.
    I told all four support lines that we had a IMac on the network and it did detect the Apple TV. But NONE of them seem to know that the ATV can connect to a local area network PC one at a time. Amazying. But now it is solved.

  • My iTunes does not see shared libraries and is not connectable

    I am using Comodo Firewall on Windows 7 x64. I have a mac mini with no sharing and an iMac with sharing of iTunes libraries enabled.
    The mini is able to see and read the library of the iMac, while the iTunes on Windows 7 isn't able to see any library at all.
    The mini is also not able to see nor read the library of the Windows pc.
    I have opened ports 3689 and 5353 on Comodo firewall and iTunes is a 'trusted application'. ICMP is also not blocked (not sure it is allowed).
    The mini and the imac are on wireless, the windows pc is wired.
    Does anyone have an idea what I am missing?

    Try to turn both the computer and phone off then turn them both back on..once the computer starts, try to go to iTunes first then connect your phone to it. If it still doesn't pop up, u might have to uninstall iTunes then reinstall it. This happened to me before.

  • Front Row, Shared Libraries and Cover Art.

    I have my Macbook connected to my audio system and I share files between my Macbook and iMac. When playing files that are in the shared library (the files located on my iMac), most of the time the cover art doesn't show. Why is that?
    I have noticed that the files where the Covert Art doesn't show up are files where the art was obtained through the iTunes store. The files where I have manually found the cover art work fine.
    iMac 24", 2.16GHZ, 500GB & Macbook 2.0 GHZ, 80GB   Mac OS X (10.4.8)
    iMac 24" 2.16GHZ & Macbook 2.0 GHZ   Mac OS X (10.4.8)  

    iTunes 7 does not embed artwork that it downloads, it stores it seperately.
    You can embed it by applying it through the Get Info window. To do this:
    1. Ctrl-click on the picture in the lower left and select copy.
    2. Open preview and hit command-n to create a new file from the clipboard.
    3. Save the file to the desktop.
    4. Select all of the tracks on the album, ctrl-click on one and select "Get Info".
    5. Drag the picture from the desktop onto the artwork box.
    You can also use a third party tool such as Curator or CoverScout.

  • Shared libraries AND private music folders?

    I have had my iTunes set up using a Shared folder for about three years now with great success being shared across 4 users on one Mac. Each user has their own iTunes folder and their own iTunes library. The iTunes Music folder is an alias (link) back to a folder by the same name in my Shared user account. As content gets added, I periodically run "Add to Library..." from the other accounts to pick up the new content.
    Now enter a maturing high school freshman daughter who needs to add a whole bunch of stuff I don't want access to. Namely, she has Berlitz German and Spanish language CD's that provide THOUSANDS of words - each as a separate audio track and each with a photo of that word stored as Album Artwork. So now, not only do I have thousands of 2 second tracks such as "pero" and "nacht", but my Coverflow has thousand of pictures of these objects. In addition, she has also started using GarageBand to make her own music, which also makes it's way into my previously pristine and well-managed shared Music Library.
    So, the question is, how can I allow a user to have BOTH read/write access to Shared Music Folder, AND have access to private Music folders within their account?
    Thanks for the suggestion

    No, but you can make a second copy of the song file, and have each library only see its own.

  • Shared libraries and Private tags

    My son and I share the same iTunes library on an external drive. Each of us has his own library (.itl) and xml files located in our home folder/music/itunes pointing to the external drive for the physical files.
    Most of our tags are common (artist name, song name...) but some others ned to remain "private" like the genre tag. If he tags a song "Rock", I may tag it "Alternative" for ex. The problem is that every time that any of us changes the genre tag, it's reflected in the other library as well.
    I'm afraid this is the case because of ID3 tags. Is there a way to keep the tags "private"?

    No, but you can make a second copy of the song file, and have each library only see its own.

  • Shared "libraries"/mltple computers wireless networked to shared hard drive

    I really spent some time researching this question prior to posting. My goal is to have three computers (mine, wife's,kid's) all accessing a single hard drive on which all of our combined music is stored with iTunes on each computer seeing our whole library of music, then all of us can create playlists, sync to varous nano's, shuffles, etc. Hard drive is all set up, wireless access is set, all three computers can access various other shared files on the hard drive. All three computers have been "mapped" so that they look at this new Z drive, so I went through Edit/Pref/Advanced/General and changed each computer to look at this new Z drive versus their own C: drive/Music folder etc. Then I went through Advanced, Consolidate on one computer to put all of our music that used to be on one individual computer's hard drive and successfully moved it out to the new shared, wirelessly accessable Z drive.
    Now, I want to be able to add new songs to that Z drive, ideally from any individual computer and have all other computers "see" those new songs that are now out on the Z drive. I have gone around the house and tested adding via CD's new songs from each computer to the new shared Z drive and that works. However, each of the individual iTunes libraries do not see the new songs.....is there some way that each computer's iTunes could update itself so that it recognizes that there are new songs out on the shared hard drive??? If so, I can't seem to figure out how to make it work.
    Also, on Edit/Preferences/Sharing...I have selected and checked "Look for shared libraries" and also selected/checked "share my library on local network"....and selected/checked "share entire library"....and I have done this on each indvidual computer, but I am not sure if those are the right selections/checks to achieve my goals. Is this what I should do on each computer?? In the blank "Shared name:" I typed "iTunesShared" which is the name of the file that I created on the shared hard drive and I did this on each computer in each individual iTunes program. Is this what I should be doing??
    Finally, on one of the computers (the computer that I have been currently using to add CD's to our shared hard drive) under Library, on the left hand column...there is a heading called "Shared" and under that heading it lists two subheadings - one called "Owners's music" and the other called "Susan's music" - and those seem to turn off and on if I have one of the other two computers logged on and its iTunes program launched. If I go to one of the other computers and shut down iTunes on it, one of those subheadings will disappear. Also, with iTunes launched on the two other computers - I see under the "Shared" heading the "iTunesShared" heading and if I click on it, iTunes is then looking at the Z drive with all of the our songs stored on it....but the other two computers can only see this file if the computer that I have been downloading songs from is launched....i.e., the only way all three computers can see the Z drive with our full song library on it is if just one of the other computers is up, running and has iTunes launched.
    Again, my goal here is to have all three computers iTunes be looking at the Z drive so that they would have access to our full library of songs...so, any ideas how I can make that happen or what I have done wrong here?? I think I am closing to figuring this out but am now stuck. Any advice or guidance would be much appreciated.
    thanks,
    CAS
    Also,
    Dell Latitude D420   Windows XP  

    Seems like you have things set up right. You may be disappointed though.
    Each account on each computer is separate as far as libraries go. Even if all are set to save to the same location, like yours, the different libraries do not see each other. The library files for each user are basically just shortcuts to where the tracks are, so even if 5 users add the file to their own library there will be media file.
    What this means is that adding files with one, the others will not know it. There is no setting available to change this behavior. Each user must add the files to their own library using the 'add folder' or 'add file' options.
    Is that everything? You had a big post.

  • Shared Libraries Not Working

    This problem has just come up recently and for no apparent reason as far as I can tell.
    I'm at college and a lot of people in the dorm, including myself, have our iTunes libraries set to share. This has worked fine for months now until a few days ago. For whatever reason I can no longer see shared libraries and mine isn't being shared.
    Topics I've seen before talk about the iTunes store, and that works fine with me. I do have the proper boxes checked. It isn't being blocked by the firewall, and the problem occurs even with the firewall off.
    I haven't done anything to my iTunes recently other than adding a few cd's and syncing my iPod. I haven't done anything major to my comp. at all either. Can't figure out why it isn't working recently.

    Quite possible it could be a firewall issue maybe? I've had firewall software update itself and then start blocking things that had previously been allowed. Just a thought...
    HTH

  • Shared libraries in Photos 1.0

    My wife and I have traditionally shared a single library in iPhoto (stored on an external drive). Can we continue to do so in Photos? Are there any complications when it comes to shared libraries and iCloud Photo Library? (I could just plow ahead and try it out, but it'd be my head if I did anything to compromise our existing  library of family photos.) Tips from more adventurous upgraders most welcome.

    You can certainly create a library on an external drive or have multiple libraries, though only one (system library) will sync with iCloud Photo library, though I assume that is per user - not sure how it might affect things if you are using differernt iCloud credentials.

  • HPUX shared libraries versions of XML parser v2 for C++

    Hi All,
    Could somebody tell me whether Oracle have any plans to distribute shared versions of the xml libraries that ship with the C++ XML Parser for HPUX.
    I am working on a project that uses shared libraries that in turn use the Oracle XML parser. I have managed to get the final executable to link to the xml static library (the symbols are unresolved when I link the sl, but sort themselves out on the final link) but HP do not recommend mixing static & shared libraries - and my code size increases by quite a bit using this method.
    I would much prefer to use shared libaries as I do when I link the Oracle 8.1.6 libraries.
    Thanks in advance,
    Steve Dalton

    I was able to find out that the XDK libraries on HPUX for Oracle 8.1.7 are built with the +z compiler option (unlike the current versions on OTN for HPUX). So, that will give you position independent code and should allow you to build a shared library.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Since downloading iTune10.4.1 I can't import from shared libraries. The import button is gone.

    The show menu and import buttons are no longer at the bottom of the iTunes window when i am accessing a shared library since the last iTunes upgrade. Has any one else had this problem and, more importabtly, how do you fix it?

    I have the same exact problem! I can go into between the shared libraries and see them, however there is no "Show" dropdown menu on the bottom or Import button on the bottom!! Why is this???
    Thanks
    Any help would be greatly appreciated!!!

  • 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>.

  • Using shared libraries

    I've just installed some shared libraries and I'm trying to write some code to access them. The libraries are in /usr/local/lib and the headers are in /usr/local/include .
    My C code can find the headers but when I try to compile it I get a load of  "undefined reference to" errors referring to the functions which come from the library. At the end I get
    collect2: ld returned 1 exit status
    This is when I use gcc as a compiler.
    I've ran ldconfig since installing the libraries.
    What do I need to do to use the libraries?

    I wouldn't do so. There are reason why there are libraries, and you can simply depend on libs (as most things in linux do anyway). If you don't want the deps, and say it's a distributed 1-exe-baby (as oracle) link them statically.
    Usually, you can speicfy in the installer where the libs shall go. Also, a .la file is compiled with libtool. I don't know if  you actually can do so, but i'd try to disable libtools (if it's not binary distributed).
    Also, you can simply make a pacman packages of the lib with headers, installing the needed things into the path you need it.
    If you're a developer, and develop together with other guys, i'd recommend you to create a package, and build up a own local repository, with the devel packages needed. I've done so here, that's really a nice solution, especially for libs installed like this for which you can create nice pacman packages.
    // STi

Maybe you are looking for

  • Can't configure Airport Express to Extend Airport Extreme Wireless

    I have a working Airport Extreme wireless setup running 128-bit WEP. I now have a computer in a remote part of the house that doesn't have wireless, but has a wired Ethernet port. So I was told by a knowledgeable guy at the Apple store that I can hav

  • Time capsule and external hard drives

    Good morning support group! I have a new Macbook and time capsule. My iPhoto library and iTunes are on external hard drives and are (gulp) not backed up properly. Can I set up the TC to back up the external hard drives and the macbook. If I set it up

  • IMessage not working with new iOS 6 update

    Updated my phone today with the new os update and now my imessage seems to not be working. Anyone else? Help?

  • Reverse Credit Line item from Profit Center.

    Hello Expets May any body say how can I reverse a cr line item from profit Center in which extra credit line item came through PO once and through internal order once i.e bcoz in PO there was link once  Profit center as well as Internal order. If I d

  • Application Folder Always Icon View

    Somehow after the past update in Tiger, my applications folder will never show in the last view (list view) I had assigned. It always defaults back to Icon view. This is the same on another Intel iMac I have at work. What is going on? Fixing permissi