Sponsored Content
Operating Systems Solaris Where to download libpcre.so.1 for Solaris 10? Post 303035011 by Don Cragun on Friday 10th of May 2019 09:49:21 PM
Old 05-10-2019
You might want to try linking /usr/local/lib/libpcre.so to /usr/local/lib/libpcre.so.1.
This User Gave Thanks to Don Cragun For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 8 download

Hey doe's anyone know of a direct link to download Solaris 8 for an Intel system? I've been looking all over the Sun site and others and i cant find were to download it, if i click on something like Solaris 8 binaries in the downloads page it just tells me about Solaris. Please help. Thanx (4 Replies)
Discussion started by: Gavan
4 Replies

2. UNIX for Dummies Questions & Answers

How can I download in Solaris?

I'm just trying to get SSH setup on Solaris and I want to download it. For some reason, if I ever goto a site and try to download something, it doesn't work. When I click on the download link it just goes to a blank page and sits there. Can anyone help a Solaris newb out? Thanks. (1 Reply)
Discussion started by: AMDPwred
1 Replies

3. Programming

Where can I download OpenMotif for Solaris ?

The ones on Motif Zone are for MacOS, Linux and FreeBSD only. (0 Replies)
Discussion started by: endeavour1985
0 Replies

4. Solaris

Please,cannot install solaris 10 after download

I download sun solaris 10(sol-10-u5-ga-x86-dvd-iso-a), then I extract the file but I cannot install. after that I burn it to DVD than reboot the computer to make it install but it dosenot work. Please tell me how can I do:mad: (4 Replies)
Discussion started by: sackNumchai
4 Replies

5. Solaris

Solaris OS download

Can someone guide me to a link where i can download older update for solaris 10 os i need solaris 10u4-6 . I couldn't find one on sun.com (5 Replies)
Discussion started by: fugitive
5 Replies

6. Solaris

Solaris 8 .iso download

Does anyone know where we can find Solaris 8 for SPARC? I managed only to find Solaris 10 on sun/oracle site :( (8 Replies)
Discussion started by: orange47
8 Replies

7. UNIX for Dummies Questions & Answers

Macintosh build error: dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib

Hi all, my first post here. I'm trying to load hypermail on my Mac (Tiger 10.4.11). It seemed to install just fine, but when I run the test build I get this error: dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib Referenced from: /Users/sstark/Desktop/hypermail/tests/../src/hypermail... (4 Replies)
Discussion started by: slugger415
4 Replies

8. Solaris

Download of Solaris 9/9

Hi All, Can somebody tell me, if Solaris -9 (Update 9) is available for download for Sparc ? If yes, please guide me. I need to upgrade my Solaris-9 update-7 to Solaris-9 update-9 for a specific requirement. On support.oracle.com, I can only see Solaris-10 and Solaris-11 under Download... (1 Reply)
Discussion started by: solaris_1977
1 Replies

9. Solaris

Which Solaris 11 download package to use

Hi, One quick question: Which download package should I use to install the whole Solaris 11 OS? Can I use the Text Install package that is only 400 MB? or I need to use the Solaris 11 11/11 Repository Image package? I am in hurry to do it but somewhat confused here. Thank you in advance! ... (6 Replies)
Discussion started by: aixlover
6 Replies

10. Solaris

Looking for X.25 Download (Solaris 8)

Hello Forum Folks, I'm hoping to find a trustworthy download of a (Solstice?) X.25 package suitable for Solaris 8. I've been searching the Internet for many weeks (I am subscribed to "UNIX Packages", previously 'sunfreeware' and could not find anything). Would anyone know or have this... (3 Replies)
Discussion started by: ssid61
3 Replies
PCRESAMPLE(3)						     Library Functions Manual						     PCRESAMPLE(3)

NAME
PCRE - Perl-compatible regular expressions PCRE SAMPLE PROGRAM
A simple, complete demonstration program, to get you started with using PCRE, is supplied in the file pcredemo.c in the PCRE distribution. The program compiles the regular expression that is its first argument, and matches it against the subject string in its second argument. No PCRE options are set, and default character tables are used. If matching succeeds, the program outputs the portion of the subject that matched, together with the contents of any captured substrings. If the -g option is given on the command line, the program then goes on to check for further matches of the same regular expression in the same subject string. The logic is a little bit tricky because of the possibility of matching an empty string. Comments in the code explain what is going on. If PCRE is installed in the standard include and library directories for your system, you should be able to compile the demonstration pro- gram using this command: gcc -o pcredemo pcredemo.c -lpcre If PCRE is installed elsewhere, you may need to add additional options to the command line. For example, on a Unix-like system that has PCRE installed in /usr/local, you can compile the demonstration program using a command like this: gcc -o pcredemo -I/usr/local/include pcredemo.c -L/usr/local/lib -lpcre Once you have compiled the demonstration program, you can run simple tests like this: ./pcredemo 'cat|dog' 'the cat sat on the mat' ./pcredemo -g 'cat|dog' 'the dog sat on the cat' Note that there is a much more comprehensive test program, called pcretest, which supports many more facilities for testing regular expres- sions and the PCRE library. The pcredemo program is provided as a simple coding example. On some operating systems (e.g. Solaris), when PCRE is not installed in the standard library directory, you may get an error like this when you try to run pcredemo: ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory This is caused by the way shared library support works on those systems. You need to add -R/usr/local/lib (for example) to the compile command to get round this problem. AUTHOR
Philip Hazel University Computing Service Cambridge CB2 3QH, England. REVISION
Last updated: 23 January 2008 Copyright (c) 1997-2008 University of Cambridge. PCRESAMPLE(3)
All times are GMT -4. The time now is 12:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy