Linking with glibc instead of sun libc?

Howdy all!
I've got a delicate litttle problem. I'm porting a bunch of old apps from solaris 8 to solaris 10, from pre-89 c to c99 and so on. One problem is that the old apps use glibc and depend on glibc behaviour (which differs slightly from sun libc behaviour).
Now I'm trying to figure out how to get the apps to use glibc instead of libc at runtime and 'm absolutly stumped right now.
I'm grateful for any ideas right now.
cheers
Erik Svensson, SIX AB
Message was edited by:
Erik.Svensson
Fixed typo in subject line

I just updated to Version 4 which solved my problem.

Similar Messages

  • Open google maps, youtube, video etc links with app instead of browser?

    According to the search maps and youtube won't ask if you want to use an app to open the links because google doesn't see firefox as a mobile browser (which is weird given that it will always load the mobile youtube site...)
    But the same thing happens when I want to watch streams from other websites. Instead of asking me if I want to open media files using an app it will automatically use the built in player. But I want to open media with a different player (mx player) as I don't really like the firefox player.
    How can I have firefox ask me to pick an app/browser to open certain things like google map links, youtube links, media file link (mp4 etc)?

    My biggest bugbear with the Play Store opening in the browser is that it's slower than the native app, so waiting for the page to load before given the option to launch the app isn't a lot of help. Would it be possible to have an option to automatically load such pages in the associated app? Perhaps when using the address bar icon it could ask "Do you want to do this automatically in future? Yes/No/No and don't ask again".
    Jon

  • [SOLVED] Xfce terminal open links with wrong browser.

    After installing Opera as second browser, xfce terminal began to open links with it, instead of my default browser - Firefox.
    I right click on an URL, choose 'Open Link' and it opens in Opera.
    Firefox is set as default browser in Settings -> Preferred Applications -> Web Browser
    xdg-open http://archlinux.org
    - opens Firefox
    exo-open http://archlinux.org
    - opens Firefox
    After quick search through xfce terminal sources i found it uses some function - gtk_show_uri.
    I googled it, found that topic: https://bbs.archlinux.org/viewtopic.php?id=140028 and tried the solution:
    cat ~/.local/share/applications/mimeapps.list
    [Added Associations]
    x-scheme-handler/mailto=exo-mail-reader.desktop
    x-scheme-handler/http=firefox-browser.desktop
    strangely it doesn't help.
    After all righ click url in terminal and 'Open Link' still uses Opera.
    Any ideas? What else can i do to find out a reason?
    Last edited by spacetekk (2015-01-04 11:41:53)

    Tried BROWSER envar - doesnt help, and as i understand it must work only for cli apps.
    Editing of  ~/.config/mimeapps.list doesnt help eather:
    cat ~/.config/mimeapps.list
    [Default Applications]
    text/vcard=firefox.desktop
    text/html=firefox.desktop
    [Added Associations]
    text/vcard=firefox.desktop;
    text/html=firefox.desktop
    but maybe it's not correct.
    After that i tried to strace xfce4-terminal:
    poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
    recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0.\331!\t`\2N\1\0\0\330\336\7\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 352
    recvmsg(4, 0x7fff5ad349d0, 0) = -1 EAGAIN (Resource temporarily unavailable)
    stat("/home/user/.local/share//mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=115108, ...}) = 0
    open("/usr/share/applications/opera.desktop", O_RDONLY) = 13
    fstat(13, {st_mode=S_IFREG|0644, st_size=550, ...}) = 0
    read(13, "[Desktop Entry]\nVersion=1.0\nName"..., 4096) = 550
    read(13, "", 4096) = 0
    close(13) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    pipe2([13, 19], 0) = 0
    pipe2([20, 21], 0) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd725cf1bd0) = 1469
    close(19) = 0
    close(21) = 0
    wait4(1469, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1469
    and it's strange but as i can understand it uses some mime cache file located at /usr/local/share/mime/mime.cache
    and before that some other non existing files, but i dont see there any familiar config files.

  • Replacing sun libc with glibc...

    Howdy!
    I'm porting a bunch of old apps from solaris 8 to solaris 10 (and going from pre-89 c to c99 too).
    The apps use glibc (and are dependant on glibc behaviour) but I can't figure out how to get the apps to use glibc instead of libc short of replacing sun libc entirely.
    Does anybody have any idea?
    cheers
    Erik Svensson, SIX AB

    There is no such thing as glibc on solaris (there
    used to be, but that was ages ago). Most people
    asking about it actually want glib (related to gtk,
    gnome). Are you sure you really want glibc? What
    feature is missing from the solaris libc?I really want glibc. Our apps were built with glibc and depends on glibc's behaviour which
    is slightly different from sun libc.
    There are no features missing, the function signatures are identical but the behaviour is different.
    An example:
    the function 'char * getcwd(char * buf, size_t size)', in sun libc it returns null if buf is null and size is 0.
    In glibc it will malloc appropriate amount of memory, stuff the the path in it and return it.
    The behaviour differs. Our apps depend on glibc behaviour.
    I don't know how to fix this, especially as we are talking about some 300 K sloc.
    cheers
    Erik Svensson, SIX AB

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • When i open an irc link with a channel name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end

    when i open an irc link with a channel name that contains "~" at the end firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can not open the image, but I can say something in general about the tilde.<br>
    The tilde "~" is an unreserved character and therefore it can be replaced by its percent-encoded form "%7E" inside a URI without changing meaning. See<br>
    http://en.wikipedia.org/wiki/Percent-encoding<br>
    According to section 2.3 of RFC3986 we should prefer the unencoded form so this behavior seems to be a bit out-dated.<br>

  • Whenever I click on a link with the middle-mouse button, it opens multiple copies the link instead of only one (Version is 4.0.1).

    Whenever I click on a link with the middle-mouse button, it opens multiple copies the link instead of only one (Version is 4.0.1). I have checked the mouse in other browsers and it doesn't behave oddly in them.

    Does that happen if you {Ctrl + Click} the same hyperlinks?

  • Is there any hope of apple adding a 're-link with media folder'-type function to iTunes?

    Is there any hope of apple adding a 're-link with media folder'-type function to iTunes?
    I have 1000s of broken links after installing the latest version of iTunes and updating some files in my media folder. The location of my itunes library has not changed, and all the files are there (I know because I've just waited several hours for the files to be updated by my ultra-slow computer) - by my logic, there should be some menu option that simply re-synchronises with the media folder, just like itunes would do with an ipod - it can't be that hard can it? The only way I can restore a link is by clicking every song (I have over 28,000) and locating the file in the folder that iTunes claims to use as its media folder - the new version 10 option of then using this location to restore all broken links doesn't work because it only looks in the specific album file, and after a couple of times this dialog box no longer even comes up, so I couldn't ask it to do this even if I wanted to. At the moment the only option I can see is to completely wipe iTunes and re-load all my music from scratch - using my tired and over-worked computer this will realistically take around 15 hours that I don't have, and my computer will melt in the process. I wish I'd never tried to 'tidy up' my iTunes library...
    PLEASE Apple, how hard can it be to have a function that searches for and restores broken links by itself????? I've told you where the music is - just flipping look for it yourself instead of getting me to do it!

    You don't have to re-rip, re-import or re-download all your content. You can clear the iTunes library, either by selecting all in the libary and pressing the Delete key, saying "no" when it asks if you want to remove the files themselves, and then use the Add To Library command, selecting the iTunes Media folder (or iTunes Music folder, as applicable to your situation), and that will add back all your content. It shouldn't take more than a few minutes; if it does, something may be amiss with your hard drive or the library file is corrupted (in which case just delete the library file and re-do the Add To Library command).
    Regards.

  • Broken link icons appearing instead of artwork in iTunes store

    Hi,
    For some odd reason, I see "broken link" icons, which look like a chain made up of three links, with the center link broken, instead of music album artwork in iTunes store.
    Initially I see the album artwork, but then they begin to get replaced by the odd looking "broken link" icons ! quite strange.... this began happening after I upgraded to OSX 10.5.6, but I am not sure this is the main reason I'm having this issue, I tested some macs at the Apple store, which were running 10.5.6. to access the iTunes store, and this problem did not appear, so it might be something else on my Mac Pro that is causing this odd behavior.
    Any other Mac users encountering the "broken link" icon when visiting the iTunes store ? Any clues ? or ways to solve this ? what could be causing this ? Any help/feedback would be appreciated.
    Thanks.

    The Cooks,
    Have you installed Quicktime 7.1.5 update?
    Dual 2.3 GHz PowerPC G5   Mac OS X (10.4.8)  

  • Download and then open PDFs with Preview instead of viewing PDFs within Safari

    hello, I am running Safari 6.0.2 and since this update PDF files are automatically opened within Safari. This seems to be a new feature. In my older version of Safari whenever I clicked a pdf it was downloaded to my "Downloads" folder and then automatically opened with Preview. The option open "safe" files after downloading in Safari -> Preferences -> General is ticked. So as soon as a download a PDF file it should automatically be opened with Preview. However, I cannot figure out how to download a PDF file from a google link. I googled and people suggested to use alt + mouse click on the google search result link to download the PDF. However, whenever I tried this instead of downlading the PDF file it downloads a .html file which is then apparently not opened. Also using the option "download linked file" or "download linked file as" only downloads a url.html file and not the PDF. I searched and searched for any possible solutions but cannot find any. I am really suprised that no one has yet really complained about that. Any ideas of how to fix that problem?

    I had a similar probem after updating to the newest Safari -- and I posted that question on the forum this morning.  Like you, I didn't have any adobe plug-ins.  then I read another post that made sense:
    find a pdf document that you know opens in Preview. Do a command-I on that document's icon.  Then you'll see 1/2 way down an item that says "open with Preview" - click on the arrow beside that, then beside it you'll see "use this application to open all documents like this one"  Under that, you'll see "change all" -- and it will change all pdfs to automatically open with Preview instead of Adobe.From then on Safari worked perfectly
    Then I wondered why I didn't have the Adobe plug-in that people were telling me to disable - so I downloaded Adobe Reader again - looked in the library and sure enough there was the plug-in - so I went ahead and disabled the Adobe pdf plug-in (by dumping it in the trash).
    so far so good -- first time that Safari 6.02 has worked for me since I installed it.

  • Passing a page link with password embedded?

    I did this a few years ago but cannot remember how.
    I need to create a link to give to someone to a password
    protected site (ASP
    and Access db) that will have the password embedded directly
    into the link
    in order for them to be logged in to the site as soon as they
    click the
    link.
    I tried something like this but it didn't work:
    http://www.mysite.com/members.asp?pwd="ABC"

    >I tried that link earlier with no luck.
    Did you do this? (see below)
    >> That's assuming that process.asp is looking for a
    url variable, is able
    >> to parse its value out, and is able to use that
    value in authenticating
    >> the visitor, rather than expecting form input.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Buck" <[email protected]> wrote in message
    news:[email protected]...
    >I tried that link earlier with no luck.
    > This is a site that someone else did and I "inherited"
    it yesterday.
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Who built these pages for you?
    >>
    >> The link would be - ''
    http://www.example.com/process.asp?pwd=whatever''
    >>
    >> That's assuming that process.asp is looking for a
    url variable, is able
    >> to parse its value out, and is able to use that
    value in authenticating
    >> the visitor, rather than expecting form input.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Buck" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Please excuse my ignorance. I've tried a number
    of URL's with no
    >>> success. What should the URL string be that I
    would give to someone as a
    >>> link to get to my site and be automatically
    logged in?
    >>>
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> <form method="POST"
    action="process.asp">
    >>>>
    >>>> This redirects the authentication input data
    to "process.asp", so
    >>>> that's where you need to send the link with
    the password.
    >>>>
    >>>> And - on process.asp, you need to look for a
    query.request('pwd') and
    >>>> if it exists, to use its value for the
    password instead of the posted
    >>>> value.
    >>>>
    >>>>
    >>>> --
    >>>> Murray --- ICQ 71997575
    >>>> Adobe Community Expert
    >>>> (If you *MUST* email me, don't LAUGH when
    you do so!)
    >>>> ==================
    >>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>> ==================
    >>>>
    >>>>
    >>>> "Buck" <[email protected]> wrote in
    message
    >>>> news:[email protected]...
    >>>>> The login box is part of the page.
    Here's what I have for the code:
    >>>>>
    >>>>> <form method="POST"
    action="process.asp">
    >>>>> <input type=hidden name=tryit
    value=1>
    >>>>> <input type="password" name="pword"
    size="14">  <input
    >>>>> type="submit" value="Log In"
    ALIGN="bottom">
    >>>>> </form>
    >>>>>
    >>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> If I would browse directly to the
    members.asp page, do I get
    >>>>>> relocated to a login page, or is the
    login code part of the members
    >>>>>> page?
    >>>>>>
    >>>>>> --
    >>>>>> Murray --- ICQ 71997575
    >>>>>> Adobe Community Expert
    >>>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>>> ==================
    >>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>> "Buck" <[email protected]> wrote
    in message
    >>>>>>
    news:[email protected]...
    >>>>>>>I did this a few years ago but
    cannot remember how.
    >>>>>>> I need to create a link to give
    to someone to a password protected
    >>>>>>> site (ASP and Access db) that
    will have the password embedded
    >>>>>>> directly into the link in order
    for them to be logged in to the site
    >>>>>>> as soon as they click the link.
    >>>>>>> I tried something like this but
    it didn't work:
    >>>>>>>
    http://www.mysite.com/members.asp?pwd="ABC"
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • TextImage shows links with chainlink image.  Why?

    The TextImage component shows my links with chainlink image.  Why?  Even in preview mode, it shows the chainlink image and the links are not clickable.
    See the bottom-right of the attached image.  How can I fix the links?

    Thanks Justin.  That was the problem.  I had written "www.google.com" instead of "http://www.google.com".

  • I photo no longer links with Facebook

    My i photo will not link with Facebook anymore. Instead of getting a window to put my login name and password for FB, I just get a window that pulls up FB on the internet but it will not link to my account and I cannot put pictures up. Does anyone know how to fix this?

    get the photos off the card and use your camera's format command to reformat the card - that will clear the problem
    LN

  • Linking with gnu libstdc++ using no%Cstd option

    Has anybody had success using (compiling and linking with) the GNU libstdc++ C++ standard library? This would be excluding the use of the Sun supplied Cstd library by using the compile option -library="no%Cstd".
    If so please provide any key details.
    I'm just trying a very simple test program:
    #include <string>
    int main(int argc, char** argv) {
    string s = "Hello";
    The command line to compile is: CC -library="no%Cstd" -lstdc++ test.cc
    Many many compile errors follow. Curiously enough it doesn't seem to find the standard includes at /usr/include, even if I explicity specify in the compiler options.
    Thanks.

    This isnt going to happen. You would have to use -I to point CC at the gcc std header files. They are not going to compile with CC. Furthermore, CC and g++ use different mangling algorithms, so even if you got it to compile, the mangled names that CC emitted would not match the symtab entries in the gcc standard library shared object. And if you managed even more magic to get past this, you would discover that nothing ran, because CC and g++ use different ABI's, i.e. the mechanism by which g++ would propogate an exception would be incomprehensible to code generated by CC, etc. This is actually the underlying reason why the mangling algorithms differ - to explicitly prevent mixing compilers and libraries. Its a sad fact about C++, but you've got to use the same compiler all around, unless you limit yourself to a strict subset at the .so boundry, which is how COM gets around this.

  • Slow Query over Database Link with Bind Variable

    I have a query over a DB link, with all tables on the remote database.
    If I use a bind variable (from Toad), the query takes 4 minutes. If I replace the bind variable with a constant or substitution variable, it takes 1 second.
    The query runs fine when run directly on the remote database using bind variable.
    9.2.0.7

    Look up "Bind variable peeking"
    What's happened is you have an execution plan that differs from the one with the constant. Why? My bet is that Oracle "peeked" at the bind variable to help it decide which execution plan to build. It then cached it. It probably cached an execution with an index when it should be doing a full table scan or a hash join instead of a nested loop. It's hard to say specifically what it is.
    Try this, flush your shared pool and rerun the query with the bind and let us know if it takes 1 second or 4 minutes. If it takes 1 second, then that was probably it.
    Read part 2 of Tom Kyte's blog post on what it is and it's behavior.
    http://tkyte.blogspot.com/2007/09/sqltracetrue-part-two.html

Maybe you are looking for