Sponsored Content
Top Forums UNIX for Advanced & Expert Users Xserver shared library link is gone Post 302851855 by godzilla07 on Monday 9th of September 2013 11:44:27 PM
Old 09-10-2013
Thanks. I decided to just replace the .dylib files with the older ones .
 

10 More Discussions You Might Find Interesting

1. Programming

Shared Library

hello all I want to work in shared libraries how can i work in Linux Environment ? (2 Replies)
Discussion started by: rajashekaran
2 Replies

2. UNIX for Advanced & Expert Users

shared library

What is the primary difference between static library and dynamic library? and how to write static shared library? (1 Reply)
Discussion started by: areef4u
1 Replies

3. UNIX for Dummies Questions & Answers

Link error while linking a shared library in unix

Getting the following error , ld: /opt/syncsort39/lib/libsyncsort.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link. Is there any difference in the ld options in opt file while linking a 64 bit shared library ? Or is the problem because we are trying to link both 32 bit and 64... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

4. Programming

Shared memory in shared library

I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
Discussion started by: DreamWarrior
12 Replies

5. Programming

Shared memory for shared library

I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability. Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies

6. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

7. Solaris

Link Based IPMP on Shared IP Solaris Zone

Hi, This may have already been raised previously so sorry for the duplication. What I want to achieve is have a physical server using link based IPMP setup in the global zone (not problem doing that) and then create a zone set as Shared-IP so when the servers NIC has an issue the IP will... (0 Replies)
Discussion started by: giles.cardew
0 Replies

8. Programming

g++ fails to link to static library when compilation and link in single command

Hello All, I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it: I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies

9. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

10. AIX

Add shared members from library to same library in a different directory

I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message. add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies
App::Info::Lib::Expat(3pm)				User Contributed Perl Documentation				App::Info::Lib::Expat(3pm)

NAME
App::Info::Lib::Expat - Information about the Expat XML parser SYNOPSIS
use App::Info::Lib::Expat; my $expat = App::Info::Lib::Expat->new; if ($expat->installed) { print "App name: ", $expat->name, " "; print "Version: ", $expat->version, " "; print "Bin dir: ", $expat->bin_dir, " "; } else { print "Expat is not installed. :-( "; } DESCRIPTION
App::Info::Lib::Expat supplies information about the Expat XML parser installed on the local system. It implements all of the methods defined by App::Info::Lib. Methods that trigger events will trigger them only the first time they're called (See App::Info for documentation on handling events). To start over (after, say, someone has installed Expat) construct a new App::Info::Lib::Expat object to aggregate new meta data. Some of the methods trigger the same events. This is due to cross-calling of shared subroutines. However, any one event should be triggered no more than once. For example, although the info event "Searching for 'expat.h'" is documented for the methods "version()", "major_version()", "minor_version()", and "patch_version()", rest assured that it will only be triggered once, by whichever of those four methods is called first. INTERFACE
Constructor new my $expat = App::Info::Lib::Expat->new(@params); Returns an App::Info::Lib::Expat object. See App::Info for a complete description of argument parameters. When called, "new()" searches all of the paths returned by the "search_lib_dirs()" method for one of the files returned by the "search_lib_names()" method. If any of is found, then Expat is assumed to be installed. Otherwise, most of the object methods will return "undef". Events: info Searching for Expat libraries confirm Path to Expat library directory? unknown Path to Expat library directory? Class Method key_name my $key_name = App::Info::Lib::Expat->key_name; Returns the unique key name that describes this class. The value returned is the string "Expat". Object Methods installed print "Expat is ", ($expat->installed ? '' : 'not '), "installed. "; Returns true if Expat is installed, and false if it is not. App::Info::Lib::Expat determines whether Expat is installed based on the presence or absence on the file system of one of the files searched for when "new()" constructed the object. If Expat does not appear to be installed, then most of the other object methods will return empty values. name my $name = $expat->name; Returns the name of the application. In this case, "name()" simply returns the string "Expat". version Returns the full version number for Expat. App::Info::Lib::Expat attempts parse the version number from the expat.h file, if it exists. Events: info Searching for 'expat.h' Searching for include directory error Cannot find include directory Cannot find 'expat.h' Failed to parse version from 'expat.h' unknown Enter a valid Expat include directory Enter a valid Expat version number major_version my $major_version = $expat->major_version; Returns the Expat major version number. App::Info::Lib::Expat attempts to parse the version number from the expat.h file, if it exists. For example, if "version()" returns "1.95.2", then this method returns "1". Events: info Searching for 'expat.h' Searching for include directory error Cannot find include directory Cannot find 'expat.h' Failed to parse version from 'expat.h' unknown Enter a valid Expat include directory Enter a valid Expat major version number minor_version my $minor_version = $expat->minor_version; Returns the Expat minor version number. App::Info::Lib::Expat attempts to parse the version number from the expat.h file, if it exists. For example, if "version()" returns "1.95.2", then this method returns "95". Events: info Searching for 'expat.h' Searching for include directory error Cannot find include directory Cannot find 'expat.h' Failed to parse version from 'expat.h' unknown Enter a valid Expat include directory Enter a valid Expat minor version number patch_version my $patch_version = $expat->patch_version; Returns the Expat patch version number. App::Info::Lib::Expat attempts to parse the version number from the expat.h file, if it exists. For example, "version()" returns "1.95.2", then this method returns "2". Events: info Searching for 'expat.h' Searching for include directory error Cannot find include directory Cannot find 'expat.h' Failed to parse version from 'expat.h' unknown Enter a valid Expat include directory Enter a valid Expat patch version number bin_dir my $bin_dir = $expat->bin_dir; Since Expat includes no binaries, this method always returns false. executable my $executable = $expat->executable; Since Expat includes no executable program, this method always returns false. inc_dir my $inc_dir = $expat->inc_dir; Returns the directory path in which the file expat.h was found. App::Info::Lib::Expat searches for expat.h in the following directories: /usr/local/include /usr/include /sw/include Events: info Searching for include directory error Cannot find include directory unknown Enter a valid Expat include directory lib_dir my $lib_dir = $expat->lib_dir; Returns the directory path in which a Expat library was found. The files and paths searched are as described for the "new" constructor, as are the events. so_lib_dir my $so_lib_dir = $expat->so_lib_dir; Returns the directory path in which a Expat shared object library was found. It searches all of the paths in the "libsdirs" and "loclibpth" attributes defined by the Perl Config module -- plus /sw/lib (for all you Fink fans) -- for one of the following files: libexpat.so libexpat.so.0 libexpat.so.0.0.1 libexpat.dylib libexpat.0.dylib libexpat.0.0.1.dylib Events: info Searching for shared object library directory error Cannot find shared object library directory unknown Enter a valid Expat shared object library directory home_url my $home_url = $expat->home_url; Returns the libexpat home page URL. download_url my $download_url = $expat->download_url; Returns the libexpat download URL. search_lib_names my @seach_lib_names = $self->search_lib_nams Returns a list of possible names for library files. Used by "lib_dir()" to search for library files. By default, the list is: libexpat.a libexpat.la libexpat.so libexpat.so.0 libexpat.so.0.0.1 libexpat.dylib libexpat.0.dylib libexpat.0.0.1.dylib search_so_lib_names my @seach_so_lib_names = $self->search_so_lib_nams Returns a list of possible names for shared object library files. Used by "so_lib_dir()" to search for library files. By default, the list is: libexpat.so libexpat.so.0 libexpat.so.0.0.1 libexpat.dylib libexpat.0.dylib libexpat.0.0.1.dylib search_lib_dirs my @search_lib_dirs = $expat->search_lib_dirs; Returns a list of possible directories in which to search for libraries. By default, it returns all of the paths in the "libsdirs" and "loclibpth" attributes defined by the Perl Config module -- plus /sw/lib (in support of all you Fink users out there). search_inc_names my @search_inc_names = $expat->search_inc_names; Returns a list of include file names to search for. Used by "inc_dir()" to search for an include file. By default, the only name returned is expat.h. search_inc_dirs my @search_inc_dirs = $expat->search_inc_dirs; Returns a list of possible directories in which to search for include files. Used by "inc_dir()" to search for an include file. By default, the directories are: /usr/local/include /usr/include /sw/include KNOWN ISSUES
This is a pretty simple class. It's possible that there are more directories that ought to be searched for libraries and includes. And if anyone knows how to get the version numbers, let me know! The format of the version number seems to have changed recently (1.95.1-2), and now I don't know where to find the version number. Patches welcome. BUGS
Please send bug reports to <bug-app-info@rt.cpan.org> or file them at <http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>. AUTHOR
David Wheeler <david@justatheory.com> based on code by Sam Tregar <sam@tregar.com> that Sam, in turn, borrowed from Clark Cooper's XML::Parser module. SEE ALSO
App::Info documents the event handling interface. App::Info::Lib is the App::Info::Lib::Expat parent class. XML::Parser uses Expat to parse XML. Config provides Perl configure-time information used by App::Info::Lib::Expat to locate Expat libraries and files. <http://expat.sourceforge.net/> is the Expat home page. COPYRIGHT AND LICENSE
Copyright (c) 2002-2008, David Wheeler. Some Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-15 App::Info::Lib::Expat(3pm)
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy