[SOLVED] how to handle dependencies on old libraries

Hi,
is there any guide how to handle old library dependencies?
i maintain otrdecoder-x86_64 from aur and the latest versions are no longer shipped as 'static'-packages. Therefore one library dependency is too old:
ldd otrdecoder
linux-vdso.so.1 => (0x00007fff3473d000)
libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007ff8001e7000)
libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007ff7ff609000)
libavutil.so.49 => not found
librt.so.1 => /lib/librt.so.1 (0x00007ff7ff401000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff7ff0f1000)
libm.so.6 => /lib/libm.so.6 (0x00007ff7fee70000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007ff7fec5a000)
libc.so.6 => /lib/libc.so.6 (0x00007ff7fe903000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff7fe6e7000)
libavutil.so.50 => /usr/lib/libavutil.so.50 (0x00007ff7fe4d6000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007ff7fe2be000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007ff7fe0ae000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007ff7fde9c000)
libfaad.so.2 => /usr/lib/libfaad.so.2 (0x00007ff7fdc5b000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007ff7fd9e3000)
libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007ff7fd7b4000)
libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007ff7fd59e000)
libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007ff7fd35f000)
libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007ff7fd146000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007ff7fcd6e000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007ff7fcb42000)
libx264.so.84 => /usr/lib/libx264.so.84 (0x00007ff7fc8af000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007ff7fc5a1000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff8004a3000)
libmp4v2.so.0 => /usr/lib/libmp4v2.so.0 (0x00007ff7fc2f2000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x00007ff7fc0ed000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ff7fbee9000)
I made a symlink from to test if it works with the new library:
sudo ln -s libavutil.so.50 libavutil.so.49
It seems to work, but i don't think that symlinking is a good idea.
I contacted the author but he/she did not respond. The packages are shipped as binary only.
Any ideas?
Last edited by nblock (2010-02-28 21:40:37)

The typical solution seems to be to make a package that compiles the previous version's source and keeps it from making / strips out "generic" symlinks such that only the .pkgver is around (eg libavutil.so.49 is there but libavutil.so is removed or prevented so as not to conflict with the current libavutil), and the package is named for example libavutil49. The most obvious examples are libpng12, libjpeg6, and libjpeg7 from aur.
If you can't make the previous version compile, you either patch it to or you're more or less out of luck. Distributing it in binary form would probably be bad. Then just have your otrdecoder depend on that new package.
Last edited by FrozenFox (2010-02-28 17:22:26)

Similar Messages

  • Handling dependencies when creating libraries (git)

    Ok I wrote a huge post which was lost, so I'll try to be brief this time.
    I'm making a library, and a wrapper/binding for that library in another repository. The wrapper obviously depends on the library. So my question is, how can I relate these repositories? At first I thought I could have wrapper repo include the library repo as a git submodule. But the main drawback of that is that if I then create a second wrapper for the library in a third repo, also including the library repo as a git submodule, I will get two copies of the library repo if I make a project depending on both wrappers.
    I'm starting to think that maybe I should just have my wrappers assume that the library is already installed in the system, and look for it in system paths. And I'm not used to creating install scripts at all, but that's another topic. I haven't been developing in a linux based os very long. But my fear then is when I need to use different versions/branches of the library, and will have to remember to run the correct install script and stuff manually.
    Please advice. How does your workflow look? Are there any tools worth mentioning? So far I have been using git for version control and scons for building and that's it. Real world examples that I can browse on github or such might be helpful too.
    Thank you.

    I do like the git submodules, but there is a potential problem with them. When working with reusable components, it's very tempting to include them as git submodules. But, I'm not sure how to handle a situation like this:
    (ReusableA)<----\
    Î \
    | \
    (ReusableB) (ReusableC)
    Î Î
    | /
    (Application1)--/
    Application1 depends on ReusableB and ReusableC, and therefore includes them in it's repo as git submodules. However, since both ReusableB and ReusableC depend on ReusableA and include that as git submodules, I end up with two copies (of possibly different revisions) of ReusableA. This is the problem that I'm not sure how to tackle. Maybe it will be easy to avoid by just not initializing both instances of ReusableA. So is this a situation to avoid or am I just worrying about a problem that isn't really a problem? If it's possible to only initialize one instance of ReusableA, all involved repositories will still have clear dependencies in form of git submodules.

  • [Solved] How to handle pre-download license? (Creative EULA)

    When you go to the X-Fi driver download, it presents you with the Creative EULA that says the following near the top:
    YOU HAVE AGREED TO THE TERMS OF THIS AGREEMENT BEFORE DOWNLOADING THE SOFTWARE FROM THE INTERNET.
    Then you click "AGREE" at the bottom to initiate the download, which was the main reason I was hesitant to upload my PKGBUILD from this X-Fi thread.  Someone requested that it be added to the AUR, so I ended up submitting it.  I'm just not sure how the situation should be handled (the source is GPL2).
    I've currently saved the Creative EULA as a text file and put both 'custom:CEULA' and 'GPL2' in the license array.  Is this sufficient, or would I need to do something like this?
    source=() # remove driver tarball
    makedepends=('wget')
    build() {
    # quick prompt about licensing situation
    # display license
    # ask user to accept/decline
    # if decline, return 1
    # wget source
    # md5 -c source
    # continue as normal
    Last edited by creslin (2008-11-08 20:37:12)

    Allan wrote:An EULA to download GPL2 source...  seems strange.
    I agree (and I don't quite understand it really), but I ended up submitting it since the source is GPL2.
    You can install the EULA to /usr/share/licences/$pkgname and add a post install message saying that the user has to read it first.  E.g. http://repos.archlinux.org/viewvc.cgi/c … ev=CURRENT
    Ok, I'll go with the post install warning.  I was just worried about the letter of the law as skymt mentioned, but I'll just keep it this way then.  Thanks.
    Last edited by creslin (2008-11-08 17:55:55)

  • How to handle Pre-requistes in AppV?

    Hi All,
    How to handle Pre-requisites in Application Virtualization?
    I know that we need to install all the pre-requisites in Sequencer Machine before starting sequencer & then the same pre-requisites should be available in Client. I know that we can use AppV Connection Groups to handle pre-requisites.
    When to use AppV Connection Groups & when to use normal installation of pre-requisites in sequencer & Client Machines?
    I want to document this in Standards Document & I want to know what should I mention Under How to handle Dependencies?
    Whether the dependencies are of Thick Install Or Virtual Applications
    Thanks in advance..

    That's really up to you, what's your expectation, what's your customers expectation.
    Personally, if I have an application with a pre-requisite that I know only applies to that application e.g. A runtime with the name of my application in it, I will include that in the one package with my app. If I have a pre-requisite which is likely to
    be required by multiple applications, I try to determine how many and what apps before decided what to do with it.
    If I have an app which requires, say the latest version of Java and I know that I'm putting that app locally as part of my build. I will keep that Java local too. But that's just my preference...
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • I can't view old iphoto libraries. It wants me to use a new version of iphoto but from all the commits here, no one likes it. Help! how do i get to my old libraries???

    I can't view old iphoto libraries. It wants me to use a new version of iphoto but from all the commits here, no one likes it. Help! how do i get to my old libraries???

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    what do you see when iPhoto opens?
    what fixes have you tried?
    where is you library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • HT203167 I purchased a new computor, because my old computor crashed and burned. when I resumed iTunes I used a new username and password. How do I retrieve my music libraries from my old iTunes account

    Old computor crashed and burned. purchase new lenovo lap top with windows 7. got new itunes account. with new usename and password. how do I retrieve my old music libraries from my old itunes account.

    Why did you start a new itunes account?  This will just cause problems.
    Your library will only be where you put it.
    It has alwasys been very basic to always maintain a backup copy of your computer for this very occasion.
    If for some reason you have failed to maintain a backup, not good at all, then you can redownload some itunes purchases in some countries:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I Have iTunes since 2008. I have changed computers and I know have old libraries but iTunes do not locate a lot of songs when I try to play it. How can I correct this situation?

    I Have iTunes since 2008. I have changed computers and I know have old libraries in my Hard Disk but iTunes do not locate a lot of songs when I try to play it. How can I correct this situation?

    When iTunes say that try to find the file you want iTunes to play in your iTunes > Media folder.  If iTunes offers to find others, let it. If it does not find them all you will have to find them yourself or re-add the files from your drive to iTunes (use Automatically Add to iTunes folder).
    iTunes 9: Understanding the "Automatically Add to iTunes" folder. - http://support.apple.com/kb/HT3832 - Files put into this folder are actually moved from this folder onto the correct location in the iTunes Media folder.

  • How do I merge my iTunes libraries and make them accessible from multiple Systems?

    Our family has several Macs using several versions of OSX.
    My Music collection, mostly converted from my large collection of CDs, is scattered across all the Macs and several hard drives with Systems running OSX 10.6.8, 10.8.5 and 10.9.4.
    The older Macs can not be upgraded to either Mountain Lion nor Mavericks.
    My most organised library is the latest on the Mac running Mavericks. It is tidy ALAC, and has all the correct metadata such as covers, composers, ISBNs etc. So I have started by organising those onto an external 1.5 Tb Hard Drive in a folder called Central iTunes Library.
    I intend to then go through the Libraries on the other hard drives and systems and add them to this central external collection.
    1. Will I be able to open the Central Library (created in iTunes 11.2.2) on the older Macs and Systems directly, by plugging in the hard drive?
    2. Is there a better way than reopening the files from the other Systems and Hard Drives and importing them all over again into the Central Library?
         eg Drag and Drop or File > New or a Dedicated Utility for the purpose
    3. Is sharing from my Mac, the only way to let everyone access the library?
    4. Will the other Macs be able to add to the Central Library once it is shared from my Mac?
    5. How do we manage our various iPhones, iPods and iPads with one central Library?
    6. Are there any hazards to watch out for?
    7. What is the best way to have a duplicated backup of the library?
    Thanks,
    Peter

    The concept of a central library sounds great (in principle), but unless you can all follow the same rules about handling playlist/ folder/ genre naming it can get into a mess. Are you sure you want to see all of your son's & wife's music when setting up iOS syncing? I also suspect your son & wife may have a different opinion about accessing all your music (with it's larger ALAC file size) - they may be happier not sifting through all your tracks to find the ones they like for use on iOS?
    The store authorizes to the Mac not the library - so as you move around on each Mac & use your AppleID to purchase that Mac will get tied to that AppleID. That would be fine accept iTunes has a 90 day limit on changing the Apple ID on a computer. You will have to wait 3 months to switch to using another Apple ID to download music & apps on that device - that also affects apps that sync from iOS for backups.
    Personally I think that users need their own Mac with their own library (& each Mac needs to be backed up), especially if they have their own iOS device that needs syncing to a Mac. Home Sharing is ok for moving files that you want to hear from another library - but it can be bad when a client is on wifi.
    iTunes is designed to be a single user who can share over the network - it isn't intended to be one large bucket for every family member to store media, the Apple ID issue makes this pretty clear to me.
    Your flaky wifi issue sounds like a reason not to rely on anything that requires networking to work too.
    You are correct to worry about the library versions, eventually an iTunes update will alter the library format. Only machines that have that version can open the library - this happened from iTunes 10.7 to iTunes 11.
    See how many 'old libraries' you have in the Music/iTunes/Previous iTunes Libraries/ folder - that indicates how many times iTunes has backed up & upgraded the library. Is that more than expected? Major iTunes versions will need to be performed at the same time to keep it all working with the 'central music library'.
    You may be tempted to access one iTunes library over file sharing on multiple Macs. This can cause problems when one Mac updates something (placing a file lock on the library file). It's hit or miss whether the other Macs can read & write to the library.
    PJRS seems to be using a networked iTunes library - I can't understand how it works with iTunes from Tiger to 10.9? What version of iTunes is used PJRS?

  • The mysteries of how Logic handles audio

    Hey guys,
    Could someone set me straight on my understanding of how Logic handles audio?
    I recently started a discussion:
    Recording to external audio drive woes in Logic X
    And I've now solved it. When saving my songs I didn't have "audio files" enabled as part of what the song saved. I figured I was recording to an external drive, so I didn't need Logic to save the audio files. But then, I couldn't rename the files in the bin. Kept getting the "File Not Found Error -43" message.
    Which lead to some diagnostics. I checked "audio files" in what Logic would save. Did a "save as" on the song I was working on, and suddenly I can rename files.
    What I think happens is this: You save a song and Logic creates a folder called "audio" into which it copies all the files you record to your external recording folder (if you've told it to save audio files as part of the save process). And then it plays back the files from its project folder rather than from the drive to which you recorded the files.
    Because it's playing back from the project folder, the audio files have to be there for you to be able to do housekeeping stuff like renaming files. But if you tell Logic not to save the audio into the project folder, it will continue to play the files back from the external recording folder, but won't let you do housekeeping things to the files in the recording folder.
    I double checked this by trashing the audio folder on the recording drive. Logic still plays back the audio quite happily, which means it must be getting streamed from the project folder.
    Have I got this right, guys?
    And if so, could someone explain the "logic" of it to me??

    No explanation here, but I guess to consolidate evrything to one folder the project could be used on another system and all the audio files are there for remixing or mixing etc. Etc.
    Because Logic is streaming audio from the project folder, I have my project folder also on a external drive. Eventhough it's SSD it's just old habbits.

  • After Aperture 3 update, I can't access old libraries. It tells me to close and relaunch but when I do this it just opens again on the same library. Please help!

    I have just downloaded the latest iOS update for my computer, and then I was unable to use Aperture until I upgraded its software also. I did this, and it seemed to work fine on relaunch with new version - the last library I had open worked fine. BUT yesterday I tried to open a different library and I got a message saying
    "the selected library is from an older version of Aperture and requires a relaunch to switch"
    I click the relaunch button and it relaunches but it just opens on the same library again. I don't know how to make it relaunch properly with the different library. Please help!! Thanks

    TThe message is a bit deceptive the old libraries need to be upgraded before they can be used. To upgrade quit Aperture select one of the old libraries with the Finder and double click it. This will open Aperture on that library and ask if you want to upgrade it.
    WWhile the procedure is safe it is always a good idea to have a backup of the libraries before doing this.

  • How to handle multiple records in BPMN process

    Hi All,
    We are using Oracle BPM 11g.In my requirement,I am using the database adapter to get the data from table and I need to validate the each record and update the status of that record from the BPM Process.But I dont know how to handle if multiple records come at a time.Can anybody please helpout from this problem.
    Thanks in advanced.
    Narasimha Rao.

    Can you have a look at this post: http://redstack.wordpress.com/2010/09/30/iteratingtraversing-arrays-in-bpm/
    It's solving a different problem, but the key is that it's using a multi-instance subprocess to iterate over an array of "things" that need to be acted in. In your case it's the set of results from the db query rather than the set of tests in the example. But the principle is the same. You'd take collection of rows from the DB and process them in a multi-instance subprocess. The text that begins with the following would be good place to start:
    "Now let’s implement the body of our process. We will use the Subprocess object to handle the traversal of the array of tests. Drag a Subprocess from the component palette on the right into the process and drop it on the line between the Start and End nodes."
    In the loop characteristics you'd define whether you want to execute serially or in parallel.

  • How do I combine multiple itunes libraries

    I have multiple (6) itunes libraries scattered across my iMac 24", my Powerbook laptop and 2 external hard drives. Each library has different songs, playlists and meta data.  I just bought a Glyph GT062E 4TB external hard drive. I would like to merge all 6 libraries into one and put that library onto my Glyph.
    I'm not worried about play counts, date added, etc. I just want ALL of my music in one place. I am concerned about duplicates and how to remove them. Also, after the consolidation is complete, what is the best way to check that I have copied all of the files from each library before deleting the old libraries?  I will make a back up of the consolidated library once it is organized and managable.

    The simple solution is to go into the iTunes Music Folder on my hard drive and copy all of the songs into my External Library. Like this:
    Hard Drive > Loren's Desktop > Music > iTunes Music
    Similarly with your secondary library. You should be able to drag files from there to your External Drive.

  • How can I get my old iTunes music onto my new computer without access to my old computer? I left my previous job and forgot to transfer my music. I bought iTunes match and it shows my old Mac as a device, but I cannot get the music off it.

    How can I get my old iTunes music onto my new computer without access to my old computer? I left my previous job and forgot to transfer my music. I bought iTunes match and it shows my old Mac as a device, but I cannot access any of the old music. All I can find are what was on my iPhone, but that's not what I want. I need all my old music from my old Mac, which has been wiped clean by IT at my old job. BUT, I did have iCloud at that time and I thought all my music would be accessible through it. I don't understand the Cloud! And I'm thinking spending $24.99 on iTunes Match was a waste of money because I still can't access my old music.

    When you are done with this issue, consider the computer back at the office may still
    have access to your iTunes account, and it should be de-auhorized. You can do that
    remotely, but be sure you carefully do not mess up your other computer iTunes libraries.
    Good luck & happy computing!

  • How can I access my old iphoto libary on my newer laptop? I have a new iphoto folder on my laptop so I don't want to lose my current photos. I just want to add more.

    How can I access my old iphoto libary on my newer laptop?
    I have a new iphoto folder on my laptop so I don't want to lose my current photos. I just want to add more.

    Do the following:
    rename the old library to something other that iPhoto Library.
    copy the library to the Pictures folder on your new laptop.
    launch iPhoto with the Option key held down and select the old library to open it and convert it to the newer version.
    Note:  if the older version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 on it before opening with iPhoto on your new laptop.
    If you want to merge the two libraries into one library and keep the edited versions, keywords, titles, etc. you'll need to use the paid version of  iPhoto Library Manager to do the merging.

  • How can i sync my old playlist to my new iPod shuffle?

    How can I sync my old playlist to my new iPod shuffle?  Everytime I try to sync it I get the little pop up box that asks if I want to transfer and delete what new songs I have already downloaded.....i know it has something to do with sharing music libraries but not sure how to do this....any suggestions would be greatly appreciated.

    You don't.
    If you do not have your contacts, then you cannot sync your contacts.
    You should ALWAYS maintain a backup copy of your computer.

Maybe you are looking for

  • It is no longer on by computer

    firefox cant or will not load today used yesterday.need to reload or what.

  • Unable to open .png file in cs4

    I recently upgraded to photoshop cs4 and am unable to open a .png file that I used to open frequently in cs2.  It says photoshop cannot support this type of file. Does anyone know how to fix the problem? Thank you!

  • InDesign CS6 crashing constantly - why?

    Since updating to Mavericks, my daily crashes whilst using InDesign CS6 (on an iMac) have escalated to a ridiculous degree and it doesn't seem to matter what I'm doing at the time. Have Googled this issue again and again, tried a plethora of suggeste

  • Best way to handle Sprite animation

    Hi all, Comments on overheads (memory/performance) on the following techniques? These are overly simplified, but you get the idea? Bitmap.visible // Assume we have a bunch of sprites already in memory as bitmap data var spriteData : Vector.<BitmapDat

  • These two rams are same?

    Hi,i am new hereI am looking for a ram for my desktop , while browsing rams on amazon i found this Crucial CT51264BF160B ram and when i searched for this ram on Crucial's website and then tried to check if its compatible with my PC ,the product page