Sponsored Content
Full Discussion: Rpm package
Operating Systems Linux Ubuntu Rpm package Post 302202593 by cbkihong on Thursday 5th of June 2008 08:26:15 AM
Old 06-05-2008
That refers to the threaded version of the Qt3 library.
 

10 More Discussions You Might Find Interesting

1. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies

2. Linux

RPM Package question

Hi, I have built one RPM last year. now we have another version of that RPM. in previous release we had few extra files then now. so when user upgrade it those files get deleted by RPM package. We want to retain those files. now for workaround i thought of backing up those file during... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies

3. Red Hat

RPM package installation

Hi, can someone help me with this? How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version? Thanks (1 Reply)
Discussion started by: naan
1 Replies

4. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

5. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

6. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

7. Red Hat

Build Rpm package

Hi Everybody, I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure. Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

8. Red Hat

Issue with rpm package

Hello I have Storage foundation 6.0 version to install in redhat 6.0, so while trying to install one of the application it say to install some dependencies packages so when i try to install the dependencies again it ask for the dependencies so its a lengthy process i say. so now can i get the... (1 Reply)
Discussion started by: cyrus.ranjith
1 Replies

9. UNIX for Advanced & Expert Users

Protected RPM package

Is there a way to create a protected RPM package without giving up your source code? (2 Replies)
Discussion started by: cokedude
2 Replies

10. AIX

Does not appear to be a RPM package

Hi Guys I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package (4 Replies)
Discussion started by: khaled_ly84
4 Replies
RRDTHREADS(1)							      rrdtool							     RRDTHREADS(1)

NAME
rrdthreads - Provisions for linking the RRD library to use in multi-threaded programs SYNOPSIS
Using librrd in multi-threaded programs requires some extra precautions, as the RRD library in its original form was not thread-safe at all. This document describes requirements and pitfalls on the way to use the multi-threaded version of librrd in your own programs. It also gives hints for future RRD development to keep the library thread-safe. Currently only some RRD operations are implemented in a thread-safe way. They all end in the usual ""_r"" suffix. DESCRIPTION
In order to use librrd in multi-threaded programs you must: o Link with librrd_th instead of librrd (use "-lrrd_th" when linking) o Use the ""_r"" functions instead of the normal API-functions o Do not use any at-style time specifications. Parsing of such time specifications is terribly non-thread-safe. o Never use non *"_r" functions unless it is explicitly documented that the function is tread-safe. o Every thread SHOULD call "rrd_get_context()" before its first call to any "librrd_th" function in order to set up thread specific data. This is not strictly required, but it is the only way to test if memory allocation can be done by this function. Otherwise the program may die with a SIGSEGV in a low-memory situation. o Always call "rrd_error_clear()" before any call to the library. Otherwise the call might fail due to some earlier error. NOTES FOR RRD CONTRIBUTORS Some precautions must be followed when developing RRD from now on: o Only use thread-safe functions in library code. Many often used libc functions aren't thread-safe. Take care in the following situations or when using the following library functions: o Direct calls to "strerror()" must be avoided: use "rrd_strerror()" instead, it provides a per-thread error message. o The "getpw*", "getgr*", "gethost*" function families (and some more "get*" functions) are not thread-safe: use the *"_r" variants o Time functions: "asctime", "ctime", "gmtime", "localtime": use *"_r" variants o "strtok": use "strtok_r" o "tmpnam": use "tmpnam_r" o Many others (lookup documentation) o A header file named rrd_is_thread_safe.h is provided that works with the GNU C-preprocessor to "poison" some of the most common non- thread-safe functions using the "#pragma GCC poison" directive. Just include this header in source files you want to keep thread-safe. o Do not introduce global variables! If you really, really have to use a global variable you may add a new field to the "rrd_context" structure and modify rrd_error.c, rrd_thread_safe.c and rrd_non_thread_safe.c o Do not use "getopt" or "getopt_long" in *"_r" (neither directly nor indirectly). "getopt" uses global variables and behaves badly in a multi-threaded application when called concurrently. Instead provide a *_r function taking all options as function parameters. You may provide argc and **argv arguments for variable length argument lists. See "rrd_update_r" as an example. o Do not use the "rrd_parsetime" function! It uses lots of global variables. You may use it in functions not designed to be thread-safe, like in functions wrapping the "_r" version of some operation (e.g., "rrd_create", but not in "rrd_create_r") CURRENTLY IMPLEMENTED THREAD SAFE FUNCTIONS Currently there exist thread-safe variants of "rrd_update", "rrd_create", "rrd_dump", "rrd_info", "rrd_last", and "rrd_fetch". AUTHOR
Peter Stamfest <peter@stamfest.at> 1.4.8 2013-05-23 RRDTHREADS(1)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy