lib/.libs/libsyslog-ng.so: undefined reference to `g_atomic_pointer_add’ syslog-ng

0 comments

Posted on 18th July 2017 by Mike in Atlanta Computer Repair |Atlanta Linux Repairs

,

While making syslog-ng i got this error

lib/.libs/libsyslog-ng.so: undefined reference to `g_atomic_pointer_add’

Solution:
vi ./lib/stats/stats-counter.h

add this after #include “syslog-ng.h”:

#if !(GLIB_CHECK_VERSION(2,30,0))
#define g_atomic_int_and(atomic, val) \
(G_GNUC_EXTENSION ({ \
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \
(void) (0 ? *(atomic) ^ (val) : 0); \
(guint) __sync_fetch_and_and ((atomic), (val)); \
}))
#define g_atomic_int_or(atomic, val) \
(G_GNUC_EXTENSION ({ \
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \
(void) (0 ? *(atomic) ^ (val) : 0); \
(guint) __sync_fetch_and_or ((atomic), (val)); \
}))
#define g_atomic_pointer_add(atomic, val) \
(G_GNUC_EXTENSION ({ \
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
(void) (0 ? (gpointer) *(atomic) : 0); \
(void) (0 ? (val) ^ (val) : 0); \
(gssize) __sync_fetch_and_add ((atomic), (val)); \
}))
#endif

vtiger TCPDF ERROR: [Image] No such file or directory in

0 comments

Posted on 26th May 2017 by Mike in vTiger700

, ,

Trying to export to PDF i ran into this error “TCPDF ERROR: [Image] No such file or directory in”.

Fix was to edit libraries/tcpdf/config/tcpdf_config.php

Added `, $cache_dir` to this line:
global $root_directory, $site_URL, $cache_dir;

Changed this line:
define (‘K_PATH_CACHE’, K_PATH_MAIN.’cache/’);

To this:
define (‘K_PATH_CACHE’, $cache_dir);

Saved, PDF’s export now.

vtiger7 unknown function “mb_substr”

0 comments

Posted on 26th May 2017 by Mike in vTiger700

, ,

Was receiving an error in vtiger 7 leads module about line 85 in layouts/v7/modules/Vtiger/RecentComments.tpl due to unknown function “mb_substr”.

To fix I installed php mbstring. Since i’m running php7 on aws linux, i ran this command:

sudo yum install php70-mbstring

Then i restarted httpd

sudo service httpd restart

Now all is well.

Low latency audio playback with m-audio delta 1010lt battery, jacked, linux, and wine w/wineasio

0 comments

Posted on 18th March 2012 by Mike in Atlanta Computer Repair

In light of a recent project I’d like to share my experiences with low latency audio playback using linux as the host os, wine to emulate windows, battery as the audio playback application, jacked to assist in the routing of sound from battery to alsa, and wineasio to make it all happen even faster.  We’ve put it through the test using Zendrum midi instrument technology and lots of coffee!

At 44100hz our pipe to your audio visual cortex happens at 11.6ms as reported by battery and jacked. However, when compared to the same drill with a windows box of the same specs we can’t tell a difference in latency. Note that the windows box reports a latency closer to 5.8 within battery.

Try as we might, we never got the latency down to levels that are OK for use with the Zendrum. The Zendrum allows the user to play music too fast for the linux / wine / alsa combo. Wineasio helped a lot, but its still too latent for the Zendrum’s awesome ability. Until we can find a program as capable as battery that runs in Linux, we’re stuck recommending windows for this project.

“configure: error: libpng.(a|so) not found.”

0 comments

Posted on 22nd August 2011 by Mike in Atlanta Computer Repair |Atlanta Linux Repairs

, ,

I was getting “configure: error: libpng.(a|so) not found.” after solving a “configure: error: libjpeg.(a|so) not found.” error. I used sudo updatedb to update the locate db, then sudo locate libpng.so to find that it was in a sub dir of /usr/lib/i386-linux-gnu/ so I copied libpng.a and libpng.so to /usr/lib and it fixed the problem.

MS Explorer Mouse Model 1362 Red light flashing quickly

0 comments

Posted on 14th July 2011 by Mike in Acworth Computer Repair |Alpharetta Computer Repair |Atlanta Computer Repair |Atlanta Linux Repairs |Atlanta Macintosh Repairs |Decatur Computer Repair |Marietta Computer Repair |Sandy Springs Computer Repair |Stone Mountain Computer Repair

, ,

We had a MS Explorer Mouse Model 1362 with a Red light flashing quickly. The mouse had been disconnected from its charging station for over two weeks. The fix was to connect it to its charging station while depressing the button in the bottom of the mouse (the button that detects when the usb transmitter is attached or not).

Ran into this again and the fix above didnt stop the red light from blinking. The solution this time was to replace the rechargeable battery inside the mouse with another NiMH Rechargeable battery. We used an off brand 2800mah instead of the stock 2100mah, and we have no issues charging, etc.

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

0 comments

Posted on 24th March 2011 by Mike in Atlanta Computer Repair

, ,

I’ve seen this error a few times and believe I know the easiest fix when you run into this on unix hosting.

Everytime I’ve seen: “To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.”

… it was a permissions issue.

If you’re on a ‘nix box make sure you chown the files to be that of apache or whatever your httpd user is.

cd /var/www/html/wordpress_website.com/
chown -R apache:apache *

This way when wordpress commands apache to download and install files, your OS will allow it to do so without the use of FTP.

And dont even bother configuring FTP for this purpose, its a pain.

cant use tab in firefox

0 comments

Posted on 15th August 2010 by Mike in Atlanta Computer Repair

, , , , , , , , ,

All of a sudden my tab key quit working in firefox as well as copy and paste using ctrl+c, v, etc.

It took me a long time to realize it was only an issue in Firefox too… I was about to buy a new keyboard!

Luckily I remembered updating some plugins for firefox recently, so I disabled a few plugins and it fixed the problem. Now i can tab! yay!

To manage your addons go to tools > manage add ons > select an add on and click disable > then click restart firefox > press tab a whole bunch to test… repeat as many times as needed to get tab working again.

Customer Referral Month

0 comments

Posted on 6th July 2010 by Mike in Acworth Computer Repair |Alpharetta Computer Repair |Atlanta Computer Repair |Decatur Computer Repair |Marietta Computer Repair |Sandy Springs Computer Repair |Stone Mountain Computer Repair

, , , , , , , ,

July has officially been declared BentleyPC’s Customer Referral Month

Annually, July is the best month for the computer repair industry. This July, we’re going for a grand slam! We’d like to ask all our existing customers to take advantage of a $25 discount for referring new customers to us. The discount can be given to the new customer (in case you’d like to refer a friend or family member, etc.), or it can be credited to your individual account for future use. Either way, it’s makes a decent subject to speak about when you’re talking to your friends and family. Besides, whoever you tell about BentleyPC will be glad you did. That’s our promise!

BONUS: If our totally awesome customers send more than 100 referrals this month, BentleyPC will double the offer and give every referring customer $50 credits instead!

Don’t forget to mention us… 🙂

Thank you in advance!

There was a popup about a virus and I tried to remove it but the computer is just completely locked up

0 comments

Posted on 4th June 2010 by Mike in Acworth Computer Repair |Alpharetta Computer Repair |Atlanta Computer Repair |Decatur Computer Repair |Marietta Computer Repair |Sandy Springs Computer Repair |Stone Mountain Computer Repair

, , ,

This is becoming any everyday occurrence and as a service to our customers
and friends we would like to offer the following advice on keeping these
new “Fake Anti virus” Programs from taking over your computer.

First off the only Anti virus software that BentleyPC suggests to our
customers is the Anti virus that we personally use. Avast Anti virus comes
in several types including a free version that does the job and and top of
the line “Internet Security” version. Beyond that there are several
Malware removal tools including Malwarebytes and Spybot S&D that also do
the job of removing currently infected machines.

But to hit on the new problem of all the “fake anti virus” programs. I
would suggest not clicking on any popup about a virus. Instead simply
close the popup with the “X” in the top right hand corner of the popup’s
window. Then go to your anti virus software by clicking on its icon and
run a scan there.

Even if the popup looks like it is from you anti virus software, it could
be a fake alert. These new scams work by telling you that you have a
virus and then require you to download a file to “remove” the virus when
in fact it is placing a virus on your computer. In some cases the computer
then becomes completely useless, unless you provide your credit card
information to download yet another tool to remove the infection.

If you have fallen victim and are struggling to get your computer back up
and running, call us. We are not geeks or wizards, we are computer experts
and know exactly how to get your computer back up and running.